summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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))