Open karthink opened 6 months ago
On the latest main, I am using
(unless (eq major-mode 'org-mode)
(delay-mode-hooks
(let ((org-inhibit-startup t)) (org-mode))))
Startup staff should not be trigerred by org-export-with-buffer-copy
.
@yantar92 👍🏼 I can't reproduce it anymore either. I'll ask some users to test it, then close this thread.
Note: This bug might be fixed already because of the new implementation of
org-export-with-buffer-copy
. Needs to be verified.Original description of bug: Consider a buffer with
#+startup: latexpreview
.org-latex-preview--get-preamble
,org-export-with-buffer-copy
,(org-mode)
on the clone,(org-mode)
in the cloned buffer reads#+startup: latexpreview
, and runs(org-latex-preview '(16))