Enable electric-indent for php

This commit is contained in:
Tom Willemse 2014-11-03 14:35:46 +01:00
parent 67ca189890
commit 11ed78d83a

View file

@ -1092,6 +1092,14 @@
(add-hook 'coffee-mode-hook #'oni:electric-pair-local-mode) (add-hook 'coffee-mode-hook #'oni:electric-pair-local-mode)
#+END_SRC #+END_SRC
** PHP
- Automatically indent code
#+BEGIN_SRC emacs-lisp
(add-hook 'php-mode-hook #'electric-indent-local-mode)
#+END_SRC
* Load custom file * Load custom file
I don't really use the Emacs customization interface much, but I I don't really use the Emacs customization interface much, but I