From b4897a9e7cf7b4d71b61cc5a4fc80cb2f0906a43 Mon Sep 17 00:00:00 2001 From: RĂ©mi Vanicat Date: Tue, 26 Nov 2013 13:03:29 +0100 Subject: Pop the new schedule buffers --- lisp/ledger-schedule.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/ledger-schedule.el b/lisp/ledger-schedule.el index c8fd6ad0..8790399d 100644 --- a/lisp/ledger-schedule.el +++ b/lisp/ledger-schedule.el @@ -303,7 +303,8 @@ returns true if the date meets the requirements" (ledger-schedule-scan-transactions ledger-schedule-file) ledger-schedule-look-backward ledger-schedule-look-forward - (current-buffer))) + (current-buffer)) + (pop-to-buffer ledger-schedule-buffer-name)) (provide 'ledger-schedule) -- cgit v1.2.3