From 50f2c1a651aff2e75abc1997508c7521aad66566 Mon Sep 17 00:00:00 2001 From: rubikitch Date: Tue, 8 Feb 2011 21:12:40 +0900 Subject: [PATCH] anything.el (anything-output-filter--post-process): fix display error patched by Kouhei Sutou thanks --- anything.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/anything.el b/anything.el index 1558972..5123adf 100644 --- a/anything.el +++ b/anything.el @@ -2291,10 +2291,11 @@ the real value in a text property." (defun anything-output-filter--post-process () (anything-maybe-fit-frame) (anything-log-run-hook 'anything-update-hook) - (save-selected-window - (select-window (get-buffer-window anything-buffer 'visible)) - (anything-skip-noncandidate-line 'next) - (anything-mark-current-line))) + (anything-aif (get-buffer-window anything-buffer 'visible) + (save-selected-window + (select-window it) + (anything-skip-noncandidate-line 'next) + (anything-mark-current-line)))) (defun anything-kill-async-processes () -- 2.11.4.GIT