From 28243991e9e407c34e11bc34dbc28e6be181a2b6 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Thu, 16 May 2019 15:51:38 -0400 Subject: Better integrate 'config-reload with straight.el --- jakob.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jakob.org b/jakob.org index a81db5c..28fab58 100644 --- a/jakob.org +++ b/jakob.org @@ -152,7 +152,9 @@ Bind some keys for working with this configuration file. (defun config-reload () "Evaluate the literate config file." (interactive) - (eval-document "~/.emacs.d/jakob.org")) + (straight-transaction + (straight-mark-transaction-as-init) + (load user-init-file nil 'nomessage))) (bind-key "C-c e" #'config-goto) (bind-key "C-c r" #'config-reload) -- cgit v1.3