summaryrefslogtreecommitdiff
path: root/lisp/ledger.el
diff options
context:
space:
mode:
authorJesse Alama <alama@stanford.edu>2009-02-22 15:52:42 -0800
committerJohn Wiegley <johnw@newartisans.com>2009-02-24 16:12:18 -0400
commit738d9e603b75a69201fb5c29266f974ac7bd63df (patch)
tree628a5e736aa44f7faad98371d2f16c40f52ac6bb /lisp/ledger.el
parent50ad2cd3a5f225b1e91eb6358df92b9c7dcc6e9d (diff)
downloadfork-ledger-738d9e603b75a69201fb5c29266f974ac7bd63df.tar.gz
fork-ledger-738d9e603b75a69201fb5c29266f974ac7bd63df.tar.bz2
fork-ledger-738d9e603b75a69201fb5c29266f974ac7bd63df.zip
When starting ledger-report, print a help message.
* lisp/ledger.el: When starting ledger-report, print a help message.
Diffstat (limited to 'lisp/ledger.el')
-rw-r--r--lisp/ledger.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ledger.el b/lisp/ledger.el
index 336fdc82..e5d0b039 100644
--- a/lisp/ledger.el
+++ b/lisp/ledger.el
@@ -861,7 +861,8 @@ used to generate the buffer, navigating the buffer, etc."
(ledger-do-report (ledger-report-cmd report-name edit))
(shrink-window-if-larger-than-buffer)
(set-buffer-modified-p nil)
- (setq buffer-read-only t))))
+ (setq buffer-read-only t)
+ (message "q to quit; r to redo; e to edit; k to kill; s to save; SPC and DEL to scroll"))))
(defun string-empty-p (s)
"Check for the empty string."