diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-01-23 22:41:00 +0100 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-01-23 22:41:00 +0100 |
commit | 10b06ae53cb29f2eedd9a2db405ca6084a8377b2 (patch) | |
tree | 12243b0813ecfb47d81a514b01cb3a8dda485d15 | |
parent | a47713717b6e264ddecbabd4e3758458cdff25ab (diff) | |
download | org-mode-10b06ae53cb29f2eedd9a2db405ca6084a8377b2.tar.gz |
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.
-rw-r--r-- | contrib/lisp/org-export.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/lisp/org-export.el b/contrib/lisp/org-export.el index 3445d1e..6910f3e 100644 --- a/contrib/lisp/org-export.el +++ b/contrib/lisp/org-export.el @@ -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 |