single hook with use-package

This commit is contained in:
Jesús
2019-01-31 22:20:21 -05:00
parent 719257e801
commit 257849faab
6 changed files with 32 additions and 32 deletions

View File

@@ -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)