summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-03-14 22:41:45 +0100
committerAlan Pearce2017-03-14 22:41:45 +0100
commit9a0f3dae0a5113b04d6c40088e7e582f4ac0d7a1 (patch)
tree317ab3d1fa20762869c07ef716ecfeeae37a65de /tag-emacs
parent60dee6cff223ed034e831e4a436d1c23e1414250 (diff)
downloaddotfiles-9a0f3dae0a5113b04d6c40088e7e582f4ac0d7a1.tar.lz
dotfiles-9a0f3dae0a5113b04d6c40088e7e582f4ac0d7a1.tar.zst
dotfiles-9a0f3dae0a5113b04d6c40088e7e582f4ac0d7a1.zip
Emacs: Remove unnecessary smart-tabs code
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org14
1 files changed, 2 insertions, 12 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index f7de888..114b2b6 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -748,18 +748,8 @@ with spaces.  Perfect!
             (smart-tabs-insinuate 'c 'cperl 'python)
             (add-hook 'php-mode-hook (lambda ()
                                        (smart-tabs-mode indent-tabs-mode)))
-            (with-eval-after-load "align.el"
-              (smart-tabs-mode/no-tabs-mode-advice align)
-              (smart-tabs-mode/no-tabs-mode-advice align-regexp))
-            (eval-after-load "indent.el"
-              '(smart-tabs-mode/no-tabs-mode-advice indent-relative))
-            (eval-after-load "newcomment.el"
-              '(progn (smart-tabs-mode/no-tabs-mode-advice comment-dwim)
-                      (smart-tabs-mode/no-tabs-mode-advice comment-box)
-                      (smart-tabs-mode/no-tabs-mode-advice comment-indent)))
-
-            (unless
-                (ad-find-advice 'indent-according-to-mode 'around 'smart-tabs)
+
+            (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))