summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMoritz Ulrich <moritz@tarn-vedra.de>2014-01-02 18:55:25 +0100
committerMoritz Ulrich <moritz@tarn-vedra.de>2014-01-02 18:55:25 +0100
commit8406adce0ec2afd8cd933c8d5172781bded42fc8 (patch)
tree901e616608965b603137b88ec9df1f67ba94a6c0 /lisp
parent09ef323a7364d7f27c44bcfdce01e9b41063284c (diff)
downloadfork-ledger-8406adce0ec2afd8cd933c8d5172781bded42fc8.tar.gz
fork-ledger-8406adce0ec2afd8cd933c8d5172781bded42fc8.tar.bz2
fork-ledger-8406adce0ec2afd8cd933c8d5172781bded42fc8.zip
`ledger-read-date': Use `ledger-minibuffer-history'.
Diffstat (limited to 'lisp')
-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