From 187efed82e62484867a16119fa76c2988a271fc8 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 17 Dec 2014 20:10:49 +0000 Subject: Emacs: Use symfony style in PHP --- tag-emacs/emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index a43ffe4..2069325 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1285,7 +1285,8 @@ mouse-1: Display Line and Column Mode Menu")))))) (unbind-key "C-c C-f" php-mode-map) (unbind-key "C-." php-mode-map) (setq php-mode-coding-style "Symfony2") - (add-hook 'php-mode-hook #'turn-on-eldoc-mode))) + (add-hook 'php-mode-hook #'turn-on-eldoc-mode) + (add-hook 'php-mode-hook #'php-enable-symfony2-coding-style))) (req-package sgml-mode :defer t -- cgit 1.4.1