diff options
-rw-r--r-- | emacs/init.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs/init.el b/emacs/init.el index fdd288ad..5c1f4969 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -1017,10 +1017,10 @@ Works with: arglist-cont-nonempty, arglist-close." :mode ("\\.js\\'" . js2-mode) :config (progn (defun ap/javascript-setup () - (if (featurep 'moz) - (if (featurep 'skewer-mode) + (if (featurep 'moz) + (moz-minor-mode)) + (if (featurep 'skewer-mode) (skewer-mode +1)) - (moz-minor-mode t)) (autopair-mode -1) (auto-indent-mode -1)) (add-hook 'js2-mode-hook #'ap/javascript-setup) |