From 1cdb662b0899f7bd610b1fa2b77d2b3fbbb58ea3 Mon Sep 17 00:00:00 2001 From: dx Date: Wed, 13 May 2020 04:55:33 +0100 Subject: +quit parameter to popup-rule in literate --- Doom/.doom.d/org/literate.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Doom/.doom.d') diff --git a/Doom/.doom.d/org/literate.org b/Doom/.doom.d/org/literate.org index b45f1a2..d3c9d11 100644 --- a/Doom/.doom.d/org/literate.org +++ b/Doom/.doom.d/org/literate.org @@ -62,7 +62,7 @@ literate module of doom. ** Popup rules I don't want Emacs to focus onto the output buffer of the tangling process when I save, which is what happens with a standard async-shell-command. So setup a rule for the 'messages' and 'errors' buffers to not focus them (by setting their time to live to 0). #+BEGIN_SRC elisp -(set-popup-rule! "\*org-tangle-.*" :ttl 0) +(set-popup-rule! "\*org-tangle-.*" :ttl 0 :quit t) #+END_SRC * Hook on save Now we need to make a hook function that, when the current buffer is an org file -- cgit v1.2.3-13-gbd6f