diff options
author | Amin Bandali <amin@gnu.org> | 2018-08-30 18:13:39 -0400 |
---|---|---|
committer | Amin Bandali <amin@gnu.org> | 2018-08-30 18:13:39 -0400 |
commit | 8bc647a74b33e79ecd6e81c898ae44c84a30464b (patch) | |
tree | 2468e77d87f66f98453e8642a4f05b5b0642f7dd | |
parent | 165ca2689bd2b2fa20ce7015b5663106fd8ced46 (diff) | |
download | configs-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-- | .gitmodules | 3 | ||||
-rw-r--r-- | init.org | 12 | ||||
m--------- | lib/unkillable-scratch | 0 |
3 files changed, 15 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index a4082c6..3f05fa9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -197,6 +197,9 @@ [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 @@ -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]] diff --git a/lib/unkillable-scratch b/lib/unkillable-scratch new file mode 160000 +Subproject 676a5a97658830caece18fa65a23e3d11393315 |