aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2024-10-27 17:32:04 -0700
committerRaúl Benencia <id@rbenencia.name>2024-10-27 17:32:04 -0700
commit91427b19d7de60cc6e89dc457c593f7262a7fa43 (patch)
tree12f8c579ad9251141b34b6b6d30329ed537fde97 /.emacs.d/init.el
parentecffe5f7f722565a1cadcd6ce201aba633d216d9 (diff)
emacs: support loading code pre-init
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 73f4099..8f6aa6a 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -59,6 +59,10 @@
(dolist (path '("~/.emacs.d/rul-lisp/config" "~/.emacs.d/rul-lisp/packages"))
(add-to-list 'load-path path))
+(when-let* ((file (locate-user-emacs-file "rul-pre-init.el"))
+ ((file-exists-p file)))
+ (load-file file))
+
(require 'rul-bindings)
(require 'rul-completion)
(require 'rul-elfeed)
nihil fit ex nihilo