Emacs: switch to the Wordpress coding style in php-mode-hook
Alan Pearce alan@alanpearce.co.uk
Mon, 07 Oct 2013 13:01:10 +0100
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M emacs/init.el → emacs/init.el
@@ -1178,6 +1178,7 @@ (unbind-key "C-c C-f" php-mode-map) (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