summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org13
1 files changed, 1 insertions, 12 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index e5950f7..0027cb8 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -747,18 +747,7 @@ with spaces.  Perfect!
   :config (progn
             (smart-tabs-insinuate 'c 'cperl 'python)
             (add-hook 'php-mode-hook (lambda ()
-                                       (smart-tabs-mode indent-tabs-mode)))
-
-            (unless (ad-find-advice 'indent-according-to-mode 'around 'smart-tabs)
-              (defadvice indent-according-to-mode (around smart-tabs activate)
-                (if smart-tabs-mode
-                    (let ((indent-tabs-mode indent-tabs-mode))
-                      (if (memq indent-line-function
-                                '(indent-relative
-                                  indent-relative-maybe))
-                          (setq indent-tabs-mode nil))
-                      ad-do-it)
-                  ad-do-it)))))
+                                       (smart-tabs-mode indent-tabs-mode)))))
 #+END_SRC
 
 ** editorconfig