ob: fixed issue with ":results replace org"
* lisp/ob.el (org-babel-result-end): Now recognizes "#+begin_org" blocks for removal.
This commit is contained in:
parent
8d00354704
commit
db0e815a4c
|
@ -1547,7 +1547,7 @@ code ---- the results are extracted in the syntax of the source
|
|||
(t
|
||||
(let ((case-fold-search t)
|
||||
(blocks-re (regexp-opt
|
||||
(list "latex" "html" "example" "src" "result"))))
|
||||
(list "latex" "html" "example" "src" "result" "org"))))
|
||||
(if (looking-at (concat "[ \t]*#\\+begin_" blocks-re))
|
||||
(progn (re-search-forward (concat "[ \t]*#\\+end_" blocks-re) nil t)
|
||||
(forward-char 1))
|
||||
|
|
Loading…
Reference in New Issue