Fix regression in isearch-yank-char-in-minibuffer
* lisp/isearch.el (isearch-yank-char-in-minibuffer): Select the original window in order to restore point. This is needed when minibuffer lazy highlight is in effect.
This commit is contained in:
parent
4ec23d922d
commit
ac3bb7e754
1 changed files with 1 additions and 1 deletions
|
@ -2670,7 +2670,7 @@ or it might return the position of the end of the line."
|
|||
(interactive "p")
|
||||
(if (eobp)
|
||||
(insert
|
||||
(with-current-buffer (cadr (buffer-list))
|
||||
(with-minibuffer-selected-window
|
||||
(buffer-substring-no-properties
|
||||
(point) (progn (forward-char arg) (point)))))
|
||||
(forward-char arg)))
|
||||
|
|
Loading…
Add table
Reference in a new issue