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.
This commit is contained in:
parent
fc716a5ca1
commit
5b4400b2d0
1 changed files with 2 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue