Quit confirmation for both terminal and GUI emacs
This commit is contained in:
parent
41c77a9b04
commit
b5c15f31db
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
||||||
max-mini-window-height 0.3
|
max-mini-window-height 0.3
|
||||||
;; Ask for confirmation on exit only if there are real buffers left
|
;; Ask for confirmation on exit only if there are real buffers left
|
||||||
confirm-kill-emacs
|
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
|
;; Initialize UI
|
||||||
(load-theme doom-current-theme t)
|
(load-theme doom-current-theme t)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue