projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec23d9
)
Fix regression in isearch-yank-char-in-minibuffer
author
Augusto Stoffel
<arstoffel@gmail.com>
Wed, 23 Mar 2022 18:43:13 +0000
(19:43 +0100)
committer
Juri Linkov
<juri@linkov.net>
Wed, 23 Mar 2022 20:06:07 +0000
(22:06 +0200)
* 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.
lisp/isearch.el
patch
|
blob
|
history
diff --git
a/lisp/isearch.el
b/lisp/isearch.el
index 1a83586ef8a1c4e7aa9d5a38ed413124226b2274..9b311cb49eac1e20dd69a6b56dfe024792693840 100644
(file)
--- a/
lisp/isearch.el
+++ b/
lisp/isearch.el
@@
-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)))