summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-edit.el
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-02-16 14:30:46 -0800
committerFranck Cuny <fcuny@twitter.com>2019-02-16 14:30:46 -0800
commit305224ff8fa05eaca5c6978d403ceafc9691b28f (patch)
treeb54545b8352961fca24c8753c9f3609a84de33b6 /emacs.d/custom/fcuny-edit.el
parent[Emacs] Remove extra empty line. (diff)
downloademacs.d-305224ff8fa05eaca5c6978d403ceafc9691b28f.tar.gz
[Emacs] Ensure we load flycheck and flyspell.
Diffstat (limited to 'emacs.d/custom/fcuny-edit.el')
-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