From 648e5721d8a97f10ec16508fcfabd7ff43719831 Mon Sep 17 00:00:00 2001 From: zdm Date: Mon, 8 Feb 2021 00:34:12 -0700 Subject: [PATCH] modes need to be called explicitly with -mode appended --- init.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index 51d7bad..70d95f8 100644 --- a/init.el +++ b/init.el @@ -174,13 +174,15 @@ (use-package electric-pair :defer t - :hook prog-mode) + :hook + (prog-mode . electric-pair-mode)) ;;; Aggressive Indent (use-package aggressive-indent :ensure t :defer t - :hook prog-mode) + :hook + (prog-mode . aggressive-indent-mode)) ;;; Man @@ -608,5 +610,5 @@ (use-package prism :ensure t - :defer t - :hook prog-mode) + :hook + (prog-mode . prism-mode))