From: Stefan Bund Date: Fri, 13 Oct 2017 11:00:29 +0000 (+0200) Subject: confirm exit when hitting C-x C-c X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=844f5833be3c5f0d48e1b3b900c592841f0516d6;p=emacs-init.git confirm exit when hitting C-x C-c --- diff --git a/setup/bindings.el b/setup/bindings.el index 25cab3f..8e4e79c 100644 --- a/setup/bindings.el +++ b/setup/bindings.el @@ -38,3 +38,5 @@ (message "whitespace: %s" mode)) (global-set-key "\C-c' " 'toggle-whitespace-mode) + +(setq confirm-kill-emacs 'yes-or-no-p)