mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 21:32:53 +00:00
org-export: Fix bug preveting low level headlines to close properly in e-latex
* contrib/lisp/org-export.el (org-export-with-current-buffer-copy):
Copy `outline-level' value in the temporary buffer. This fixes
a bug introduced by commit
10b06ae53c
.
This commit is contained in:
parent
fb31480013
commit
efc10c9286
|
@ -2016,7 +2016,7 @@ Point is at buffer's beginning when BODY is applied."
|
|||
(let ((buffer-invisibility-spec nil))
|
||||
(org-clone-local-variables
|
||||
,original-buffer
|
||||
"^\\(org-\\|orgtbl-\\|major-mode$\\|outline-regexp$\\)")
|
||||
"^\\(org-\\|orgtbl-\\|major-mode$\\|outline-\\(regexp\\|level\\)$\\)")
|
||||
(insert ,buffer-string)
|
||||
(mapc (lambda (ov)
|
||||
(move-overlay
|
||||
|
|
Loading…
Reference in a new issue