File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ the balance into that."
187187 nil 'noerr )
188188 (replace-match " " ))))))))
189189
190- (defun ledger-insert-effective-date (&optional start end date )
190+ (defun ledger-insert-effective-date (&optional date start end )
191191 " Insert effective date `DATE' to the transaction or posting.
192192
193193If `DATE' is nil, prompt the user for a date.
@@ -201,8 +201,8 @@ With an active region (`START' and `END' non-nil), insert or
201201remove for all transactions starting within the region."
202202 (interactive
203203 (if (use-region-p )
204- (list (region-beginning ) (region-end ))
205- (list nil nil )))
204+ (list nil (region-beginning ) (region-end ))
205+ (list nil nil nil )))
206206
207207 (if (and start end) (ledger-insert-effective-date-region start end date)
208208 (if (and (listp current-prefix-arg)
You can’t perform that action at this time.
0 commit comments