mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Quit confirmation for both terminal and GUI emacs
This commit is contained in:
@ -37,7 +37,7 @@
|
||||
max-mini-window-height 0.3
|
||||
;; Ask for confirmation on exit only if there are real buffers left
|
||||
confirm-kill-emacs
|
||||
(lambda (_) (if window-system (if (doom/get-real-buffers) (y-or-n-p "› Quit?") t) t)))
|
||||
(lambda (_) (if (doom/get-real-buffers) (y-or-n-p "› Quit?") t) t))
|
||||
|
||||
;; Initialize UI
|
||||
(load-theme doom-current-theme t)
|
||||
|
Reference in New Issue
Block a user