diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2021-12-18 13:10:23 +0000 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2021-12-18 13:10:23 +0000 |
| commit | cb3233523786b2d76c7174fcd68a1b5a8ba5af3f (patch) | |
| tree | 7a2c50b48afaf7f85842b7f288971667db138b10 /emacs/early-init.el | |
| parent | 9225c38c80fb1a57bf7ff64ea580cedf5a9fd901 (diff) | |
emacs: Simplify my/load-file-variations a bit
Diffstat (limited to 'emacs/early-init.el')
| -rw-r--r-- | emacs/early-init.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/emacs/early-init.el b/emacs/early-init.el index 2d74a77..9eaf316 100644 --- a/emacs/early-init.el +++ b/emacs/early-init.el @@ -8,9 +8,8 @@ (defun my/load-file-variations (filename) "Load variations of FILENAME that may exist in other dotfiles directories." - (dolist (elt (mapcar (lambda (elt) (format "dotfiles-%s/%s" elt filename)) - '("${UNAME}" "${DOMAIN}" "${HOST}"))) - (my/load-file elt))) + (dolist (elt '("${UNAME}" "${DOMAIN}" "${HOST}")) + (my/load-file (format "dotfiles-%s/%s" elt filename)))) (my/load-file "emacs/functions") (my/load-file-variations "emacs/functions") |
