diff options
author | Alan Pearce | 2017-03-14 22:41:45 +0100 |
---|---|---|
committer | Alan Pearce | 2017-03-14 22:41:45 +0100 |
commit | 9a0f3dae0a5113b04d6c40088e7e582f4ac0d7a1 (patch) | |
tree | 317ab3d1fa20762869c07ef716ecfeeae37a65de | |
parent | 60dee6cff223ed034e831e4a436d1c23e1414250 (diff) | |
download | nixfiles-9a0f3dae0a5113b04d6c40088e7e582f4ac0d7a1.tar.lz nixfiles-9a0f3dae0a5113b04d6c40088e7e582f4ac0d7a1.tar.zst nixfiles-9a0f3dae0a5113b04d6c40088e7e582f4ac0d7a1.zip |
Emacs: Remove unnecessary smart-tabs code
-rw-r--r-- | tag-emacs/emacs.d/init.org | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index f7de8888..114b2b66 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)) |