all repos — nixfiles @ 9a0f3dae0a5113b04d6c40088e7e582f4ac0d7a1

System and user configuration, managed by nix and home-manager

Emacs: Remove unnecessary smart-tabs code

Alan Pearce
commit

9a0f3dae0a5113b04d6c40088e7e582f4ac0d7a1

parent

60dee6cff223ed034e831e4a436d1c23e1414250

1 file changed, 1 insertion(+), 11 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -748,18 +748,8 @@ :config (progn
(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))