mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(isearch-edit-string):
Treat isearch-yank-word-or-char specially, like isearch-yank-word.
This commit is contained in:
parent
1ca6a9c4cc
commit
88715f05a1
@ -847,8 +847,9 @@ If first char entered is \\[isearch-yank-word], then do word search instead."
|
||||
;; Word search does not apply (yet) to regexp searches,
|
||||
;; no check is made here.
|
||||
(message (isearch-message-prefix nil nil t))
|
||||
(if (eq 'isearch-yank-word
|
||||
(lookup-key isearch-mode-map (vector e)))
|
||||
(if (memq (lookup-key isearch-mode-map (vector e))
|
||||
'(isearch-yank-word
|
||||
isearch-yank-word-or-char))
|
||||
(setq isearch-word t;; so message-prefix is right
|
||||
isearch-new-word t)
|
||||
(cancel-kbd-macro-events)
|
||||
|
Loading…
Reference in New Issue
Block a user