babel: don't remove protected items on exported block cleanup
* contrib/babel/lisp/org-babel-exp.el (org-exp-res/src-name-cleanup): don't remove protected items on exported block cleanup
This commit is contained in:
parent
76d212e8fd
commit
4096c92e89
|
@ -121,7 +121,7 @@ processing has taken place."
|
||||||
(interactive)
|
(interactive)
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(while (re-search-forward
|
(while (org-re-search-forward-unprotected
|
||||||
(concat
|
(concat
|
||||||
"\\("org-babel-source-name-regexp"\\|"org-babel-result-regexp"\\)")
|
"\\("org-babel-source-name-regexp"\\|"org-babel-result-regexp"\\)")
|
||||||
nil t)
|
nil t)
|
||||||
|
|
Loading…
Reference in New Issue