summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-05-14 19:58:40 +0100
committerAlan Pearce2013-05-14 19:58:40 +0100
commitf1af12c8e936aa7665f71a880b0f16ab2d468006 (patch)
treed42ee52ea4f18179627f12458e18ce4d8a6acb6e /emacs
parentf047eb6cc310df64ef90def60644087925e762cd (diff)
downloaddotfiles-f1af12c8e936aa7665f71a880b0f16ab2d468006.tar.lz
dotfiles-f1af12c8e936aa7665f71a880b0f16ab2d468006.tar.zst
dotfiles-f1af12c8e936aa7665f71a880b0f16ab2d468006.zip
Emacs: load nxhtml from .emacs.d
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index dbce9d9..fca5eec 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -1013,7 +1013,8 @@ Works with: arglist-cont-nonempty, arglist-close."
 (use-package nxhtml-mode
   :defer t
   :mode (("\\.php\\'" . html-mumamo-mode))
-  :idle (load (expand-file-name "nxhtml/autostart" *el-get-dir*))
+  :load-path "nxhtml"
+  :idle (load (expand-file-name "autostart" (expand-file-name "nxhtml" user-emacs-directory)) t)
   :config (progn
             (when (and (equal emacs-major-version 24)
                        (> emacs-minor-version 1))