From fa74d8eea2244394882fe05f0add8874a44ae5ba Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 30 May 2013 15:10:25 +0100 Subject: Emacs: install and skewer-mode and hook into js2-mode --- emacs/init.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emacs/init.el b/emacs/init.el index 0fafe5fb..1b43f143 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -1008,6 +1008,8 @@ Works with: arglist-cont-nonempty, arglist-close." "Reload Firefox" (interactive) (comint-send-string (inferior-moz-process) +(use-package skewer-mode + :ensure t) "BrowserReload();")))) (use-package js2 @@ -1016,6 +1018,8 @@ Works with: arglist-cont-nonempty, arglist-close." :config (progn (defun ap/javascript-setup () (if (featurep 'moz) + (if (featurep 'skewer-mode) + (skewer-mode +1)) (moz-minor-mode t)) (autopair-mode -1) (auto-indent-mode -1)) -- cgit 1.4.1