From 5b4400b2d03d6277689a00ec2e7037abe9e5b216 Mon Sep 17 00:00:00 2001 From: RĂ©mi Vanicat Date: Tue, 26 Nov 2013 13:02:43 +0100 Subject: Reload init when calling ledger-init-load-init-file again. When the ledger-init-load-init-file was called again, it used to parse ledger init file, and to throw away the result. No you can use it to load this file again when you have change something in it. --- lisp/ledger-init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/ledger-init.el') diff --git a/lisp/ledger-init.el b/lisp/ledger-init.el index 4ceee4f1..d7eeb3f6 100644 --- a/lisp/ledger-init.el +++ b/lisp/ledger-init.el @@ -54,7 +54,8 @@ (interactive) (let ((init-base-name (file-name-nondirectory ledger-init-file-name))) (if (get-buffer init-base-name) ;; init file already loaded, parse it and leave it - (ledger-init-parse-initialization init-base-name) + (setq ledger-environment-alist + (ledger-init-parse-initialization init-base-name)) (when (and ledger-init-file-name (file-exists-p ledger-init-file-name) (file-readable-p ledger-init-file-name)) -- cgit v1.2.3