summaryrefslogtreecommitdiff
path: root/lisp/ledger-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ledger-mode.el')
-rw-r--r--lisp/ledger-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ledger-mode.el b/lisp/ledger-mode.el
index 4edd745f..27f8893b 100644
--- a/lisp/ledger-mode.el
+++ b/lisp/ledger-mode.el
@@ -102,7 +102,8 @@
(defun ledger-read-date (prompt)
"Returns user-supplied date after `PROMPT', defaults to today."
(let* ((default (ledger-year-and-month))
- (date (read-string prompt default)))
+ (date (read-string prompt default
+ 'ledger-minibuffer-history)))
(if (or (string= date default)
(string= "" date))
(format-time-string