summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-05-15 11:24:15 +0100
committerAlan Pearce2013-05-15 11:24:15 +0100
commit40f76781aa679b3fe928a29670d6af072e4c9800 (patch)
tree3ecffdb49ac7a79c286c5fe1601a1db163cf52f7 /emacs
parenta16f8e7fd2c498b66c72e0b3cc3595de2e00ded4 (diff)
downloaddotfiles-40f76781aa679b3fe928a29670d6af072e4c9800.tar.lz
dotfiles-40f76781aa679b3fe928a29670d6af072e4c9800.tar.zst
dotfiles-40f76781aa679b3fe928a29670d6af072e4c9800.zip
Emacs: only run nxhtml at work
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el1
1 files changed, 1 insertions, 0 deletions
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)