From 78847369196226167bdfc8dd04615fbf7ac41f9b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 7 Oct 2013 13:01:10 +0100 Subject: Emacs: switch to the Wordpress coding style in php-mode-hook --- emacs/init.el | 1 + 1 file changed, 1 insertion(+) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 0b92b4e8..fd54684b 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -1178,6 +1178,7 @@ Works with: arglist-cont-nonempty, arglist-close." (unbind-key "C-." php-mode-map) (if (eq env/location 'home) (setq php-manual-url "http://docs.home/manual/en/")) + (add-hook 'php-mode-hook #'php-enable-wordpress-coding-style) (add-hook 'php-mode-hook (lambda () (set (make-local-variable 'eldoc-documentation-function) #'my-php-eldoc-function))) (use-package eldoc-php -- cgit 1.4.1