From 40f76781aa679b3fe928a29670d6af072e4c9800 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 15 May 2013 11:24:15 +0100 Subject: Emacs: only run nxhtml at work --- emacs/init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs/init.el b/emacs/init.el index be2cb5a..1b36916 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -1010,6 +1010,7 @@ Works with: arglist-cont-nonempty, arglist-close." (use-package nxhtml-mode :defer t + :if (boundp '*work*) :mode (("\\.php\\'" . html-mumamo-mode)) :load-path "nxhtml" :idle (load (expand-file-name "autostart" (expand-file-name "nxhtml" user-emacs-directory)) t) -- cgit 1.4.1