From 476f31aa5e98808c1824f86bacf5735c197e34aa Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 23 Jan 2019 11:53:48 +0100 Subject: emacs: kill with C-x r q MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- emacs/init.org | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'emacs/init.org') diff --git a/emacs/init.org b/emacs/init.org index f9b9a7d..452dbe8 100644 --- a/emacs/init.org +++ b/emacs/init.org @@ -255,6 +255,12 @@ Disable overwrite-mode. (define-key global-map [(insert)] nil) #+END_SRC +Kill GNU Emacs by hitting =C-x r q= (mnemonic /Really quit/). + +#+BEGIN_SRC elisp + (global-set-key (kbd "C-x r q") 'kill-emacs) +#+END_SRC + ** Others Revert buffers automatically when underlying files are changed externally. -- cgit v1.2.3