summary refs log tree commit diff stats
path: root/user/emacs/init.el
diff options
context:
space:
mode:
authorAlan Pearce2025-03-12 15:19:01 +0100
committerAlan Pearce2025-03-12 15:19:01 +0100
commit3a21cd1e5a83e95ffd08204e628100cee51c4b97 (patch)
tree014e70df479c2df327c8237cff823f88737632bf /user/emacs/init.el
parent2f0300d9d58742aeb1fca38ab54ad7915742c4e4 (diff)
downloadnixfiles-3a21cd1e5a83e95ffd08204e628100cee51c4b97.tar.lz
nixfiles-3a21cd1e5a83e95ffd08204e628100cee51c4b97.tar.zst
nixfiles-3a21cd1e5a83e95ffd08204e628100cee51c4b97.zip
emacs: install buffer-terminator
Diffstat (limited to 'user/emacs/init.el')
-rw-r--r--user/emacs/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 785a9f53..3ef3a77e 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -170,6 +170,11 @@
                               (side . bottom) (slot . 0) (preserve-size . (nil . t))
                               (no-other-window . t) (no-delete-other-windows . t))))
 
+(use-package buffer-terminator
+  :config (progn
+            (buffer-terminator-mode +1)
+            (setq buffer-terminator-verbose nil)))
+
 (defun noct-relative ()
   "Show relative line numbers."
   (when display-line-numbers