diff options
author | Jesús <heckyel@hyperbola.info> | 2019-01-31 22:20:21 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-01-31 22:20:21 -0500 |
commit | 257849faaba1bced68f15db567e9380cd886bbf7 (patch) | |
tree | 2029066d30b95afad3426d89a70b16789c186769 /modules/init-php.el | |
parent | 719257e801c6c02552192d98ad869a9c6cc13634 (diff) | |
download | emacs-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.el | 4 |
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) |