summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2022-03-19 09:17:35 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2022-03-19 09:17:35 +0000
commit4334c3b98b4d8f4c5de96a6d5e394941aa255d73 (patch)
tree48290a9d9e5554d827a7e08f37877b05da6786ce /emacs
parent05cd7f4eef868a9d2f74fb474757f41a184abec0 (diff)
emacs: Confirm before quitting
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 321aa88..c16fcca 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -29,11 +29,12 @@
fill-column 72)
(setq backup-by-copying t
+ confirm-kill-emacs #'y-or-n-p
display-time-24hr-format t
inhibit-startup-screen t
recenter-positions '(3 middle top bottom)
require-final-newline t
- ring-bell-function 'ignore
+ ring-bell-function #'ignore
sentence-end-double-space nil
show-paren-delay 0
uniquify-buffer-name-style 'post-forward-angle-brackets