From 2236fa83756d3f66110593b8d917ca06cec7d869 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 10 Jun 2014 19:35:28 +0100 Subject: Emacs: Set smart-tabs-mode from indent-tabs-mode --- tag-emacs/emacs.d/init.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index b1c1b7a6..438db55b 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -366,6 +366,8 @@ smart-tabs-mode-enable smart-tabs-advice) :config (progn + (add-hook 'php-mode-hook (lambda () + (smart-tabs-mode indent-tabs-mode))) (smart-tabs-insinuate 'c 'javascript 'cperl 'python))) ;;;; Keybindings -- cgit 1.4.1