make *scratch* and *Messages* unkillable
[submodule "undo-tree"]
path = lib/undo-tree
url = git@github.com:emacsorphanage/undo-tree.git
[submodule "undo-tree"]
path = lib/undo-tree
url = git@github.com:emacsorphanage/undo-tree.git
+[submodule "unkillable-scratch"]
+ path = lib/unkillable-scratch
+ url = git@github.com:EricCrosson/unkillable-scratch.git
[submodule "use-package"]
path = lib/use-package
url = git@github.com:jwiegley/use-package.git
[submodule "use-package"]
path = lib/use-package
url = git@github.com:jwiegley/use-package.git
(shell-pop-shell-type '("eshell" "*eshell*" (lambda nil (eshell)))))
#+end_src
(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]]
* Email
** [[https://notmuchmail.org][notmuch]]
--- /dev/null
+Subproject commit 676a5a97658830caece18fa65a23e3d113933151