From 5a338791c3bea28a7c11bea126650e95878b3141 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 16 Mar 2017 15:35:36 +0100 Subject: Emacs: Remove smart-tabs library code --- tag-emacs/emacs.d/init.org | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'tag-emacs') 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 -- cgit 1.4.1