summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2021-11-14 12:02:19 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2021-11-14 12:02:19 +0000
commit2d7b31e177fb2fe7beaa8bf35b3f1f2655885009 (patch)
tree0b921ffa8574f97632486082bbaf8ffaa940bb81 /emacs
parent06926438369ac139006ff298132bcf237503be46 (diff)
emacs: Remove ‘.el’ from filenames
‘load’ will pick the best file if a compiled version is available.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs/init.el b/emacs/init.el
index ab782b8..834f47d 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -223,9 +223,9 @@ returns nil."
(menu-bar-mode -1)
(scroll-bar-mode -1)))
-(source-if-exists "dotfiles-${UNAME}/emacs/init.el")
-(source-if-exists "dotfiles-${DOMAIN}/emacs/init.el")
-(source-if-exists "dotfiles-${HOST}/emacs/init.el")
+(source-if-exists "dotfiles-${UNAME}/emacs/init")
+(source-if-exists "dotfiles-${DOMAIN}/emacs/init")
+(source-if-exists "dotfiles-${HOST}/emacs/init")
(defun my/display-startup-time ()
"Displays a message saying how long it took Emacs to load."