0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-25 23:02:53 +00:00

org-export: Fix bug with false-positive inline tasks

* contrib/lisp/org-export.el (org-export-with-current-buffer-copy):
  Fix bug with false-positive inline tasks.
This commit is contained in:
Nicolas Goaziou 2012-01-23 22:41:00 +01:00
parent a47713717b
commit 10b06ae53c

View file

@ -2012,7 +2012,8 @@ Point is at buffer's beginning when BODY is applied."
(with-temp-buffer
(let ((buffer-invisibility-spec nil))
(org-clone-local-variables
,original-buffer "^\\(org-\\|orgtbl-\\|major-mode$\\)")
,original-buffer
"^\\(org-\\|orgtbl-\\|major-mode$\\|outline-regexp$\\)")
(insert ,buffer-string)
(mapc (lambda (ov)
(move-overlay