diff options
author | Alan Pearce | 2017-03-16 15:35:36 +0100 |
---|---|---|
committer | Alan Pearce | 2017-03-16 15:35:36 +0100 |
commit | 5a338791c3bea28a7c11bea126650e95878b3141 (patch) | |
tree | a1548c6d0bf4547ae2703b5deef897e3b5d7e0dd /tag-emacs/emacs.d | |
parent | 4aee601eb64abd8bf9f8945ed579267e3861867f (diff) | |
download | nixfiles-5a338791c3bea28a7c11bea126650e95878b3141.tar.lz nixfiles-5a338791c3bea28a7c11bea126650e95878b3141.tar.zst nixfiles-5a338791c3bea28a7c11bea126650e95878b3141.zip |
Emacs: Remove smart-tabs library code
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r-- | tag-emacs/emacs.d/init.org | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index e5950f7b..0027cb8d 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 |