aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2020-09-16 18:16:54 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2020-09-16 18:16:54 +0100
commit7d2fd018bd05c5f732408bbfd4752e47b5c927c4 (patch)
treedb57f81522812bd5748a94cc8262dd861fc035e2
parentaf7de50a6967ec0beb7f8326907b04dd680c681e (diff)
downloaddotfiles-7d2fd018bd05c5f732408bbfd4752e47b5c927c4.tar.gz
dotfiles-7d2fd018bd05c5f732408bbfd4752e47b5c927c4.tar.bz2
dotfiles-7d2fd018bd05c5f732408bbfd4752e47b5c927c4.zip
init.el:~use-package doesn't demand or defer -y/n to exit Emacs
-rw-r--r--Emacs/.config/emacs/init.el10
1 files changed, 2 insertions, 8 deletions
diff --git a/Emacs/.config/emacs/init.el b/Emacs/.config/emacs/init.el
index 140c236..513ff7f 100644
--- a/Emacs/.config/emacs/init.el
+++ b/Emacs/.config/emacs/init.el
@@ -19,7 +19,8 @@
(setq straight-use-package-by-default t
use-package-enable-imenu-support t
- use-package-always-defer t
+ use-package-always-demand nil
+ use-package-always-defer nil
use-package-hook-name-suffix nil
use-package-compute-statistics t)
@@ -54,13 +55,6 @@
'kill-emacs-hook
#'+literate/compile-config)
-(unless (daemonp)
- (add-hook
- 'kill-emacs-hook
- #'(lambda ()
- (unless (y-or-n-p "Really exit emacs? ")
- (keyboard-quit)))))
-
(unless (+literate/org-files-exist)
(+literate/compile-config))