From f238d993fb28cc328b86f0f3dde60f4eb3065980 Mon Sep 17 00:00:00 2001 From: Craig Earls Date: Tue, 2 Dec 2014 18:45:04 -0700 Subject: Fix change I accidentally committed when trying to fix reconcile in frames. --- lisp/ledger-reconcile.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lisp/ledger-reconcile.el') diff --git a/lisp/ledger-reconcile.el b/lisp/ledger-reconcile.el index cbfc2ccf..23d8742a 100644 --- a/lisp/ledger-reconcile.el +++ b/lisp/ledger-reconcile.el @@ -236,8 +236,7 @@ Return the number of uncleared xacts found." (target-buffer (if where (ledger-reconcile-get-buffer where) nil)) - (cur-win (get-buffer-window (get-buffer ledger-recon-buffer-name))) - (cur-frame (selected-frame))) + (cur-win (get-buffer-window (get-buffer ledger-recon-buffer-name)))) (when target-buffer (switch-to-buffer-other-window target-buffer) (ledger-navigate-to-line (cdr where)) @@ -246,9 +245,8 @@ Return the number of uncleared xacts found." (ledger-highlight-xact-under-point) (forward-char -1) (when (and come-back cur-win) - (select-frame-set-input-focus cur-frame) (select-window cur-win) - (get-buffer))))) + (get-buffer ledger-recon-buffer-name))))) (defun ledger-reconcile-save () -- cgit v1.2.3