summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-06-10 19:35:28 +0100
committerAlan Pearce2014-06-10 19:35:28 +0100
commit2236fa83756d3f66110593b8d917ca06cec7d869 (patch)
tree6eae15da798db1efae38b35540480f0f4132c21c
parentafeab94a90c3c42d115e1986752ac1e8ca66f39c (diff)
downloadnixfiles-2236fa83756d3f66110593b8d917ca06cec7d869.tar.lz
nixfiles-2236fa83756d3f66110593b8d917ca06cec7d869.tar.zst
nixfiles-2236fa83756d3f66110593b8d917ca06cec7d869.zip
Emacs: Set smart-tabs-mode from indent-tabs-mode
-rw-r--r--tag-emacs/emacs.d/init.el2
1 files changed, 2 insertions, 0 deletions
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