From 8406adce0ec2afd8cd933c8d5172781bded42fc8 Mon Sep 17 00:00:00 2001 From: Moritz Ulrich Date: Thu, 2 Jan 2014 18:55:25 +0100 Subject: `ledger-read-date': Use `ledger-minibuffer-history'. --- lisp/ledger-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp') 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 -- cgit v1.2.3