Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ledger-xact.el
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ MOMENT is an encoded date"
(delete-region (car bounds) (cadr bounds)))
(delete-blank-lines))

(defun ledger-comment-or-uncomment-current-transaction (pos)
"Comment or uncomment the transaction surrounging POS."
(interactive "d")
(let ((bounds (ledger-navigate-find-element-extents pos)))
(comment-or-uncomment-region (car bounds) (cadr bounds))))

(defvar ledger-add-transaction-last-date nil
"Last date entered using `ledger-read-transaction'.")

Expand Down