aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.el4
-rw-r--r--.emacs.d/rul-emacs.org4
2 files changed, 8 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)
diff --git a/.emacs.d/rul-emacs.org b/.emacs.d/rul-emacs.org
index 18e0b29..2fd6b4d 100644
--- a/.emacs.d/rul-emacs.org
+++ b/.emacs.d/rul-emacs.org
@@ -175,6 +175,10 @@ Now, I simply start it from Emacs itself. This approach works well for me.
(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