Emacs: Remove smart-tabs library code
Alan Pearce alan@alanpearce.uk
Thu, 16 Mar 2017 15:35:36 +0100
1 files changed, 1 insertions(+), 12 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-emacs/emacs.d/init.org
@@ -747,18 +747,7 @@ :defer 1 :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