diff options
-rw-r--r-- | lisp/ledger.el | 5 |
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." |