Avoid accidentally killing emacs
With Quelpa
(use-package avoid-accidental-termination-mode
:quelpa (avoid-accidental-termination-mode
:fetcher github
:repo "EricCrosson/avoid-accidental-termination-mode"))
Or manually, after downloading into your load-path
(require 'avoid-accidental-termination-mode)
To kill emacs, invoke kill-emacs
. Consider binding this to less
frequently-used keys.
(evil-leader/set-key
"qq" 'kill-emacs
"qQ" 'save-buffers-kill-terminal)
After pressing C-x C-c
GPL 2 (or higher) © Free Software Foundation, Inc.