changeset 42066:6612a220ef84

(isearch-edit-string): Treat isearch-yank-word-or-char specially, like isearch-yank-word.
author Richard M. Stallman <rms@gnu.org>
date Sun, 16 Dec 2001 03:53:15 +0000
parents 2598d485c9a1
children f38a270798ca
files lisp/isearch.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/isearch.el	Sun Dec 16 03:53:05 2001 +0000
+++ b/lisp/isearch.el	Sun Dec 16 03:53:15 2001 +0000
@@ -847,8 +847,9 @@
 		;; 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)