diff options
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r-- | lisp/isearch.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index ec4f32aecca..a591f8b4291 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -1015,7 +1015,7 @@ NOPUSH is t and EDIT is t." (setq minibuffer-message-timeout isearch-original-minibuffer-message-timeout) (isearch-dehighlight) (lazy-highlight-cleanup lazy-highlight-cleanup) - (let ((found-start (window-start (selected-window))) + (let ((found-start (window-start)) (found-point (point))) (when isearch-window-configuration (set-window-configuration isearch-window-configuration) |