all repos — nixfiles @ 40f76781aa679b3fe928a29670d6af072e4c9800

System and user configuration, managed by nix and home-manager

Emacs: only run nxhtml at work
Alan Pearce alan@alanpearce.co.uk
Wed, 15 May 2013 11:24:15 +0100
commit

40f76781aa679b3fe928a29670d6af072e4c9800

parent

a16f8e7fd2c498b66c72e0b3cc3595de2e00ded4

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

jump to
M emacs/init.elemacs/init.el
@@ -1010,6 +1010,7 @@ ("\\.template\\'" . mustache-mode))) 
 (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)