summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJesse Alama <alama@stanford.edu>2009-02-21 14:43:08 -0800
committerJohn Wiegley <johnw@newartisans.com>2009-02-21 18:54:35 -0400
commit509f4505fcd05069180d9ff3d74245001a1391e3 (patch)
tree171c51ab8d4bd2976d8ddffd57b61caafa3d9f68 /lisp
parent1f39d4148e588a5476e96550591131ae65ad0fe2 (diff)
downloadfork-ledger-509f4505fcd05069180d9ff3d74245001a1391e3.tar.gz
fork-ledger-509f4505fcd05069180d9ff3d74245001a1391e3.tar.bz2
fork-ledger-509f4505fcd05069180d9ff3d74245001a1391e3.zip
Bury the report buffer after quitting.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ledger.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/ledger.el b/lisp/ledger.el
index bf3fcbac..33d77926 100644
--- a/lisp/ledger.el
+++ b/lisp/ledger.el
@@ -982,10 +982,11 @@ the default."
(ledger-do-report ledger-report-cmd))
(defun ledger-report-quit ()
- "Quit the ledger report buffer."
+ "Quit the ledger report buffer by burying it."
(interactive)
(ledger-report-goto)
- (set-window-configuration ledger-original-window-cfg))
+ (set-window-configuration ledger-original-window-cfg)
+ (bury-buffer (get-buffer ledger-report-buffer-name)))
(defun ledger-report-kill ()
"Kill the ledger report buffer."