summaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index a03816f2..63eeb6ed 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -73,6 +73,9 @@
;; y/n rather than yes/no
(fset 'yes-or-no-p 'y-or-n-p)
+;; warn before killing Emacs
+(setq confirm-kill-emacs #'y-or-n-p)
+
;; don't handle keyboard events before redrawing
(setq redisplay-dont-pause t)