summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2024-04-21 13:22:54 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2024-04-21 13:22:54 +0100
commit8f283b24326f5853479ca7b4d3fd507221bc14bb (patch)
tree6bdd1f0d1cef550bfc5358f05acec537db615eeb
parent0a45a3af4918b36043f04ee4ab2d3379fa71c504 (diff)
emacs: Load files in ‘dotfiles-local’ if available
-rw-r--r--emacs/early-init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/early-init.el b/emacs/early-init.el
index 32c9df5..86bfcb9 100644
--- a/emacs/early-init.el
+++ b/emacs/early-init.el
@@ -8,7 +8,7 @@
(defun my/load-file-variations (filename)
"Load variations of FILENAME that may exist in other dotfiles
directories."
- (dolist (elt '("${UNAME}" "${DOMAIN}" "${HOST_SHORT}" "${HOST}"))
+ (dolist (elt '("${UNAME}" "${DOMAIN}" "${HOST_SHORT}" "${HOST}" "local"))
(my/load-file (format "dotfiles-%s/%s" elt filename))))
(my/load-file "emacs/functions")