From 7d2fd018bd05c5f732408bbfd4752e47b5c927c4 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 16 Sep 2020 18:16:54 +0100 Subject: init.el:~use-package doesn't demand or defer -y/n to exit Emacs --- Emacs/.config/emacs/init.el | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'Emacs/.config/emacs/init.el') 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)) -- cgit v1.2.3-13-gbd6f