summaryrefslogtreecommitdiff
path: root/lisp/ldg-report.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-03-18 11:46:45 -0700
committerCraig Earls <enderw88@gmail.com>2013-03-18 11:46:45 -0700
commit5324afbd9b247cb6e6c4e079fb4ab9c02a66f2fd (patch)
tree4c0737037aaebf3cb55cec8374f4668d3357a946 /lisp/ldg-report.el
parent43ef1df6ab4e9f3c718cb6093c8acc517a888351 (diff)
parent8d73979abf87e3910bd040fb4b549b7d4c98a8c2 (diff)
downloadfork-ledger-5324afbd9b247cb6e6c4e079fb4ab9c02a66f2fd.tar.gz
fork-ledger-5324afbd9b247cb6e6c4e079fb4ab9c02a66f2fd.tar.bz2
fork-ledger-5324afbd9b247cb6e6c4e079fb4ab9c02a66f2fd.zip
Merge branch 'next' into ledger-mode-automatic-transactions
Diffstat (limited to 'lisp/ldg-report.el')
-rw-r--r--lisp/ldg-report.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ldg-report.el b/lisp/ldg-report.el
index 8d91d9d4..8e642a61 100644
--- a/lisp/ldg-report.el
+++ b/lisp/ldg-report.el
@@ -73,7 +73,7 @@ text that should replace the format specifier."
(defvar ledger-report-cmd-prompt-history nil)
(defvar ledger-original-window-cfg nil)
(defvar ledger-report-saved nil)
-
+(defvar ledger-minibuffer-history nil)
(defvar ledger-report-mode-abbrev-table)
(defun ledger-report-reverse-lines ()
@@ -236,7 +236,7 @@ used to generate the buffer, navigating the buffer, etc."
(if default
(concat " (" default "): ")
": "))))
- (read-string default-prompt nil nil default)))
+ (read-string default-prompt nil 'ledger-minibuffer-history default)))
(defun ledger-report-payee-format-specifier ()
"Substitute a payee name.