aboutsummaryrefslogtreecommitdiffstats
path: root/modules/init-php.el
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-01-31 22:20:21 -0500
committerJesús <heckyel@hyperbola.info>2019-01-31 22:20:21 -0500
commit257849faaba1bced68f15db567e9380cd886bbf7 (patch)
tree2029066d30b95afad3426d89a70b16789c186769 /modules/init-php.el
parent719257e801c6c02552192d98ad869a9c6cc13634 (diff)
downloademacs-personal-257849faaba1bced68f15db567e9380cd886bbf7.tar.lz
emacs-personal-257849faaba1bced68f15db567e9380cd886bbf7.tar.xz
emacs-personal-257849faaba1bced68f15db567e9380cd886bbf7.zip
single hook with use-package
Diffstat (limited to 'modules/init-php.el')
-rw-r--r--modules/init-php.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/init-php.el b/modules/init-php.el
index b81e5b8..ac12eec 100644
--- a/modules/init-php.el
+++ b/modules/init-php.el
@@ -6,8 +6,8 @@
(use-package php-refactor-mode
:after (php-mode)
:mode ("\\.php\\'" . php-mode)
- :config
- (add-hook 'php-mode-hook 'php-refactor-mode))
+ :hook
+ (php-mode . php-refactor-mode))
(use-package php-mode
:ensure t)