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:
parent
d38f79be97
commit
019a8dee21
|
@ -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)))))))
|
||||
|
|
Loading…
Reference in New Issue