diff --git a/emacs-lisp/org_mode.org b/emacs-lisp/org_mode.org index c967e6f..9e05ea2 100644 --- a/emacs-lisp/org_mode.org +++ b/emacs-lisp/org_mode.org @@ -130,6 +130,16 @@ Org Mode by default considers ~.aux~ files as log files and deletes them. Which (setq org-latex-logfiles-extensions (remove "aux" org-latex-logfiles-extensions)) #+end_src +Don't delete other windows when exporting, it is very distracting, just use popper. + +#+begin_src emacs-lisp + (defun org-export--dispatch-ui/popper (fun &rest r) + (flet ((delete-other-windows (&rest r) (ignore))) + (apply fun r))) + (advice-add 'org-export--dispatch-ui :around 'org-export--dispatch-ui/popper) +#+end_src + +#+RESULTS: ** Sliced Previews