summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-edit.el
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-edit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs.d/custom/fcuny-edit.el b/emacs.d/custom/fcuny-edit.el
index 5df8196..67cffdc 100644
--- a/emacs.d/custom/fcuny-edit.el
+++ b/emacs.d/custom/fcuny-edit.el
@@ -12,7 +12,7 @@
 
 (use-package electric-pair-mode
   :commands electric-pair-mode
-  :init (add-hook 'prog-mode-hook 'electric-pair-mode))
+  :hook (prog-mode . electric-pair-mode))
 
 (use-package paren
   :ensure t