summaryrefslogtreecommitdiffstats
path: root/init.org
diff options
context:
space:
mode:
authorAmin Bandali <amin@gnu.org>2018-08-30 18:13:39 -0400
committerAmin Bandali <amin@gnu.org>2018-08-30 18:13:39 -0400
commit8bc647a74b33e79ecd6e81c898ae44c84a30464b (patch)
tree2468e77d87f66f98453e8642a4f05b5b0642f7dd /init.org
parent165ca2689bd2b2fa20ce7015b5663106fd8ced46 (diff)
downloadconfigs-8bc647a74b33e79ecd6e81c898ae44c84a30464b.tar.gz
configs-8bc647a74b33e79ecd6e81c898ae44c84a30464b.tar.xz
configs-8bc647a74b33e79ecd6e81c898ae44c84a30464b.zip
[emacs] assimilate unkillable-scratch
make *scratch* and *Messages* unkillable
Diffstat (limited to '')
-rw-r--r--init.org12
1 files changed, 12 insertions, 0 deletions
diff --git a/init.org b/init.org
index 8333a57..2fa171d 100644
--- 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]]