Browse Source

corrected file insertion for inline results

* lisp/ob.el (org-babel-insert-result): Corrected file insertion for
  inline results.
Eric Schulte 13 years ago
parent
commit
0b6de9a026
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lisp/ob.el

+ 1 - 0
lisp/ob.el

@@ -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)))