[emacs] assimilate unkillable-scratch
[~bandali/configs] / init.org
index 8333a57..2fa171d 100644 (file)
--- a/init.org
+++ b/init.org
@@ -1292,6 +1292,18 @@ Emacs package that displays available keybindings in popup
   (shell-pop-shell-type '("eshell" "*eshell*" (lambda nil (eshell)))))
 #+end_src
 
+** [[https://github.com/EricCrosson/unkillable-scratch][unkillable-scratch]]
+
+Make =*scratch*= and =*Messages*= unkillable.
+
+#+begin_src emacs-lisp
+(use-package unkillable-scratch
+  :config
+  (unkillable-scratch 1)
+  :custom
+  (unkillable-buffers '("^\\*scratch\\*$" "^\\*Messages\\*$")))
+#+end_src
+
 * Email
 ** [[https://notmuchmail.org][notmuch]]