0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-20 01:26:29 +00:00

fixup! org-element-parse-secondary-string: Prevent altering current buffer cache

This commit is contained in:
Ihor Radchenko 2023-10-10 15:05:25 +03:00
parent 37d6bde27f
commit ad07b2982f
No known key found for this signature in database
GPG key ID: 6470762A7DA11D8B

View file

@ -6580,7 +6580,7 @@ and `org-export-to-file' for more specialized functions."
;; buffer to a temporary file, as it may be too long for program
;; args in `start-process'.
(with-temp-message "Initializing asynchronous export process"
(let ((copy-fun (org-export--generate-copy-script (current-buffer)))
(let ((copy-fun (org-element--generate-copy-script (current-buffer)))
(temp-file (make-temp-file "org-export-process")))
(let ((coding-system-for-write 'utf-8-emacs-unix))
(write-region