fixed minor bug in and improved efficiency of org-babel-map-src-blocks
* lisp/ob.el (org-babel-map-src-blocks): fixed minor bug in and improved efficiency of org-babel-map-src-blocks
This commit is contained in:
parent
5bdc043919
commit
b50125a1ac
|
@ -803,10 +803,9 @@ end-body --------- point at the end of the body"
|
||||||
(body (match-string 5))
|
(body (match-string 5))
|
||||||
(beg-body (match-beginning 5))
|
(beg-body (match-beginning 5))
|
||||||
(end-body (match-end 5)))
|
(end-body (match-end 5)))
|
||||||
(save-match-data ,@body))
|
,@body
|
||||||
(goto-char (match-end 0))))
|
(goto-char end-block))))
|
||||||
(unless visited-p
|
(unless visited-p (kill-buffer to-be-removed))
|
||||||
(kill-buffer to-be-removed))
|
|
||||||
(goto-char point)))
|
(goto-char point)))
|
||||||
|
|
||||||
(defvar org-file-properties)
|
(defvar org-file-properties)
|
||||||
|
|
Loading…
Reference in New Issue