From f1af12c8e936aa7665f71a880b0f16ab2d468006 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 14 May 2013 19:58:40 +0100 Subject: Emacs: load nxhtml from .emacs.d --- emacs/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs/init.el') diff --git a/emacs/init.el b/emacs/init.el index dbce9d9b..fca5eec0 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)) -- cgit 1.4.1