diff --git a/VERSION b/VERSION index f8089586..756c5ffa 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.15.0 \ No newline at end of file +8.15.1 \ No newline at end of file diff --git a/config/emacs/init.el b/config/emacs/init.el index c4198eac..4e119081 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -67,7 +67,9 @@ Null prefix argument turns off the mode." (use-package better-defaults) (use-package direnv - :ensure t) + :ensure t + :config + (direnv-mode)) (use-package dockerfile-mode) @@ -151,8 +153,19 @@ Null prefix argument turns off the mode." (use-package multiple-cursors :demand :config (global-set-key (kbd "C-S-c C-S-c") 'mc/edit-lines)) +(eval-and-compile + (defun yurrriq/noweb-load-path () + (file-name-as-directory + (expand-file-name "site-lisp" + (expand-file-name "emacs" + (expand-file-name "share" + (file-name-directory + (directory-file-name + (file-name-directory + (executable-find "noweb")))))))))) + (use-package noweb-mode - :load-path "/run/current-system/sw/share/emacs/site-lisp" + :load-path (lambda () (list (yurrriq/noweb-load-path))) :mode ("\\.nw\\'") :demand) (use-package nyan-mode diff --git a/src/config/emacs/init.nw b/src/config/emacs/init.nw index f5ed224c..66151286 100644 --- a/src/config/emacs/init.nw +++ b/src/config/emacs/init.nw @@ -120,7 +120,9 @@ Null prefix argument turns off the mode." (use-package better-defaults) (use-package direnv - :ensure t) + :ensure t + :config + (direnv-mode)) (use-package dockerfile-mode) @@ -252,8 +254,19 @@ pretty ligatures. @ <>= +(eval-and-compile + (defun yurrriq/noweb-load-path () + (file-name-as-directory + (expand-file-name "site-lisp" + (expand-file-name "emacs" + (expand-file-name "share" + (file-name-directory + (directory-file-name + (file-name-directory + (executable-find "noweb")))))))))) + (use-package noweb-mode - :load-path "/run/current-system/sw/share/emacs/site-lisp" + :load-path (lambda () (list (yurrriq/noweb-load-path))) :mode ("\\.nw\\'") :demand) @