summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-12-17 20:10:49 +0000
committerAlan Pearce2014-12-17 20:10:49 +0000
commit187efed82e62484867a16119fa76c2988a271fc8 (patch)
treee496085e5165b3eea0ae688897072ba86d5293a5 /tag-emacs
parent417b7c2eac667d49fbb49ddc7804ad6c90bacf4d (diff)
downloadnixfiles-187efed82e62484867a16119fa76c2988a271fc8.tar.lz
nixfiles-187efed82e62484867a16119fa76c2988a271fc8.tar.zst
nixfiles-187efed82e62484867a16119fa76c2988a271fc8.zip
Emacs: Use symfony style in PHP
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index a43ffe4d..2069325b 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