Browse Source

Cleanup load path

main
parent
commit
3d9576a902
  1. 2
      README.org
  2. 2
      init.el

2
README.org

@ -124,7 +124,7 @@ The host configuration is loaded (if it exist) using the systems name.
#+begin_src emacs-lisp #+begin_src emacs-lisp
;; Load the host configuration. ;; Load the host configuration.
(let ((host-file (concat user-emacs-directory "/hosts/" system-name ".el")))
(let ((host-file (concat dotfiles/home "/hosts/" system-name ".el")))
(when (file-exists-p host-file) (when (file-exists-p host-file)
(load-file host-file))) (load-file host-file)))
#+end_src #+end_src

2
init.el

@ -39,7 +39,7 @@
"Directory containing the password store.") "Directory containing the password store.")
;; Load the host configuration. ;; Load the host configuration.
(let ((host-file (concat user-emacs-directory "/hosts/" system-name ".el")))
(let ((host-file (concat dotfiles/home "/hosts/" system-name ".el")))
(when (file-exists-p host-file) (when (file-exists-p host-file)
(load-file host-file))) (load-file host-file)))

Loading…
Cancel
Save