all repos — archive/dotfiles @ c5c3885174ae941511592906dc75d5b139f92577

Superseded by nixfiles

Emacs: Remove redundant smart-tabs setup for js2
Alan Pearce alan.pearce@spotcap.com
Tue, 25 Aug 2015 16:55:31 +0200
commit

c5c3885174ae941511592906dc75d5b139f92577

parent

7fa88df55a147c6283ba336b3d45a5fdd3d55801

1 files changed, 0 insertions(+), 3 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -609,12 +609,9 @@ :commands (smart-tabs-mode                smart-tabs-mode-enable
                smart-tabs-advice)
     :config (progn
-              (smart-tabs-advice js2-indent-line js2-indent-offset)
               (smart-tabs-insinuate 'c 'javascript 'cperl 'python))
     :init (progn
             (add-hook 'php-mode-hook (lambda ()
-                                       (smart-tabs-mode indent-tabs-mode)))
-            (add-hook 'js2-mode-hook (lambda ()
                                        (smart-tabs-mode indent-tabs-mode)))))
 #+END_SRC