ob-core.el (org-babel-insert-result): Fix bug when inserting an empty string as the result

* ob-core.el (org-babel-insert-result): Fix bug when inserting
an empty string as the result.
This commit is contained in:
Bastien Guerry 2013-02-12 17:49:06 +01:00
parent d38f79be97
commit 019a8dee21
1 changed files with 1 additions and 1 deletions

View File

@ -1967,7 +1967,7 @@ code ---- the results are extracted in the syntax of the source
(goto-char end) (insert (concat finish "\n"))
(goto-char beg) (insert (concat start "\n"))
(unless no-escape
(org-escape-code-in-region (point) end))
(org-escape-code-in-region (min (point) end) end))
(goto-char end) (goto-char (point-at-eol))
(setq end (point-marker))))
(proper-list-p (lambda (it) (and (listp it) (null (cdr (last it)))))))