diff options
author | Craig Earls <enderw88@gmail.com> | 2013-04-06 23:13:49 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2013-04-06 23:13:49 -0700 |
commit | 4df990014fede0c7b0c23396f32b1f2c7c636426 (patch) | |
tree | ec695fcacfffd67a6cb8e052830f433fdb8cd1b7 /lisp/ldg-state.el | |
parent | 2f3053401a043495860d6d6ee1febe48c3b537aa (diff) | |
download | ledger-4df990014fede0c7b0c23396f32b1f2c7c636426.tar.gz ledger-4df990014fede0c7b0c23396f32b1f2c7c636426.tar.bz2 ledger-4df990014fede0c7b0c23396f32b1f2c7c636426.zip |
Fixed reconciliation initialization. Now prompts with only account, not status and amount
Moved context function to leg-context, from leg-report. Cleaned up many regex in ldg-context.
Diffstat (limited to 'lisp/ldg-state.el')
-rw-r--r-- | lisp/ldg-state.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/ldg-state.el b/lisp/ldg-state.el index 4f1b3695..6c585f30 100644 --- a/lisp/ldg-state.el +++ b/lisp/ldg-state.el @@ -84,15 +84,15 @@ Optional argument STYLE may be `pending' or `cleared', depending on which type of status the caller wishes to indicate (default is `cleared'). Returns the new status as 'pending 'cleared or nil. This function is rather complicated because it must preserve both -the overall formatting of the ledger entry, as well as ensuring +the overall formatting of the ledger xact, as well as ensuring that the most minimal display format is used. This could be -achieved more certainly by passing the entry to ledger for +achieved more certainly by passing the xact to ledger for formatting, but doing so causes inline math expressions to be dropped." (interactive) (let ((bounds (ledger-current-transaction-bounds)) new-status cur-status) - ;; Uncompact the entry, to make it easier to toggle the + ;; Uncompact the xact, to make it easier to toggle the ;; transaction (save-excursion ;; this excursion checks state of entire ;; transaction and unclears if marked @@ -162,7 +162,7 @@ dropped." (setq new-status inserted)))) (setq inhibit-modification-hooks nil)) - ;; This excursion cleans up the entry so that it displays + ;; This excursion cleans up the xact so that it displays ;; minimally. This means that if all posts are cleared, remove ;; the marks and clear the entire transaction. (save-excursion |