0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-26 18:00:53 +00:00

corrected file insertion for inline results

* lisp/ob.el (org-babel-insert-result): Corrected file insertion for
  inline results.
This commit is contained in:
Eric Schulte 2011-09-04 10:50:37 -06:00
parent ff4af45e68
commit 0b6de9a026

View file

@ -1632,6 +1632,7 @@ code ---- the results are extracted in the syntax of the source
'(:fmt (lambda (cell) (format "%s" cell)))) "\n"))
(goto-char beg) (when (org-at-table-p) (org-table-align)))
((member "file" result-params)
(when inlinep (goto-char inlinep))
(insert result))
(t (goto-char beg) (insert result)))
(when (listp result) (goto-char (org-table-end)))