mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-13 10:10:09 +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))
|
(let ((buffer-invisibility-spec nil))
|
||||||
(org-clone-local-variables
|
(org-clone-local-variables
|
||||||
,original-buffer
|
,original-buffer
|
||||||
"^\\(org-\\|orgtbl-\\|major-mode$\\|outline-regexp$\\)")
|
"^\\(org-\\|orgtbl-\\|major-mode$\\|outline-\\(regexp\\|level\\)$\\)")
|
||||||
(insert ,buffer-string)
|
(insert ,buffer-string)
|
||||||
(mapc (lambda (ov)
|
(mapc (lambda (ov)
|
||||||
(move-overlay
|
(move-overlay
|
||||||
|
|
Loading…
Reference in a new issue