From 11ed78d83a9af53e2aa271dec8deea2d55f204cb Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 3 Nov 2014 14:35:46 +0100 Subject: Enable electric-indent for php --- emacs/.emacs.d/init.org | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'emacs/.emacs.d/init.org') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 446f417..492becb 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1092,6 +1092,14 @@ (add-hook 'coffee-mode-hook #'oni:electric-pair-local-mode) #+END_SRC +** PHP + + - Automatically indent code + + #+BEGIN_SRC emacs-lisp + (add-hook 'php-mode-hook #'electric-indent-local-mode) + #+END_SRC + * Load custom file I don't really use the Emacs customization interface much, but I -- cgit v1.2.3-54-g00ecf