diff options
author | Craig Earls <enderw88@gmail.com> | 2013-03-18 10:50:11 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2013-03-18 10:50:11 -0700 |
commit | ea72ac29eadad36d2b9e37a168127cff76f2880a (patch) | |
tree | cdb19f810a3ad0d8ef9d52d8584baa29e9aa5b21 /lisp/ldg-xact.el | |
parent | 431d7e5b25f7e2997494ace7a0be78492c5d688b (diff) | |
download | ledger-ea72ac29eadad36d2b9e37a168127cff76f2880a.tar.gz ledger-ea72ac29eadad36d2b9e37a168127cff76f2880a.tar.bz2 ledger-ea72ac29eadad36d2b9e37a168127cff76f2880a.zip |
Enh918 Have occur mode searches stored in mini buffer history
Diffstat (limited to 'lisp/ldg-xact.el')
-rw-r--r-- | lisp/ldg-xact.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/ldg-xact.el b/lisp/ldg-xact.el index ecd87127..3e4cec4b 100644 --- a/lisp/ldg-xact.el +++ b/lisp/ldg-xact.el @@ -99,9 +99,10 @@ within the transaction." (ignore (goto-char here)))))) (defun ledger-copy-transaction-at-point (date) - "Ask for a new DATE and copy the transaction under point to that date. Leave point on the first amount."(interactive (list - (read-string "Copy to date: " - (concat ledger-year "/" ledger-month "/")))) + "Ask for a new DATE and copy the transaction under point to that date. Leave point on the first amount." + (interactive (list + (read-string "Copy to date: " + (concat ledger-year "/" ledger-month "/") 'ledger-minibuffer-history))) (let* ((here (point)) (extents (ledger-find-xact-extents (point))) (transaction (buffer-substring (car extents) (cadr extents))) |