Only display async output buffer when there's something to show

This commit is contained in:
Evie Litherland-Smith 2024-02-13 07:56:37 +00:00
parent 52789bac50
commit 54c13b3fdb

View file

@ -58,6 +58,9 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
;; No tabs ;; No tabs
(customize-set-variable 'indent-tabs-mode nil) (customize-set-variable 'indent-tabs-mode nil)
;; Only display async output buffer when there's something to show
(customize-set-variable 'async-shell-command-display-buffer nil)
;; Make shebang (#!) file executable when saved ;; Make shebang (#!) file executable when saved
(add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p) (add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p)