Add: Configure Emacs to ask for confirmation before exiting

This commit is contained in:
James Cherti
2024-08-13 19:56:47 -04:00
parent 626d35f7da
commit ad36b217b5

View File

@@ -93,6 +93,10 @@
compilation-scroll-output 'first-error) compilation-scroll-output 'first-error)
(setq truncate-string-ellipsis "") (setq truncate-string-ellipsis "")
;; Configure Emacs to ask for confirmation before exiting
(setq confirm-kill-emacs 'y-or-n-p)
;;; Files ;;; Files
;; Disable the warning "X and Y are the same file". Ignoring this warning is ;; Disable the warning "X and Y are the same file". Ignoring this warning is