From 4096c92e89fa2972ed0f83ce3442c97b0ac6b83e Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Wed, 16 Jun 2010 21:01:13 -0700 Subject: [PATCH] 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 --- contrib/babel/lisp/org-babel-exp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/babel/lisp/org-babel-exp.el b/contrib/babel/lisp/org-babel-exp.el index bb756eb2a..cef025dff 100644 --- a/contrib/babel/lisp/org-babel-exp.el +++ b/contrib/babel/lisp/org-babel-exp.el @@ -121,7 +121,7 @@ processing has taken place." (interactive) (save-excursion (goto-char (point-min)) - (while (re-search-forward + (while (org-re-search-forward-unprotected (concat "\\("org-babel-source-name-regexp"\\|"org-babel-result-regexp"\\)") nil t)