]> git.eshelyaron.com Git - emacs.git/commit
org-export-as: Do not update buffer settings when not modified
authorIhor Radchenko <yantar92@gmail.com>
Wed, 15 Jun 2022 17:03:18 +0000 (01:03 +0800)
committerEli Zaretskii <eliz@gnu.org>
Thu, 16 Jun 2022 07:53:16 +0000 (10:53 +0300)
commit0f7ceb4803cabcb3c406fa7c27ccb7625096058e
treeab60571c6ea92d157fa458f5335f7cf37b4899c7
parentd21412df06b99b551e67d39c097d95e8a284de73
org-export-as: Do not update buffer settings when not modified

* lisp/org/ox.el (org-export-as): Use `buffer-chars-modified-tick' and
avoid extra invocations of `org-set-regexps-and-options' and
`org-update-radio-target-regexp' when the buffer is not changed.
Also, disable folding checks.  Folding is irrelevant inside export
buffer.
lisp/org/ox.el