diff lisp/isearch.el @ 58840:1cdfec9f283d

(isearch-quote-char): Fix up typo in last change.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 08 Dec 2004 01:38:05 +0000
parents 33ad50d0b8f5
children a804ec066ee7 e4029991605f
line wrap: on
line diff
--- a/lisp/isearch.el	Wed Dec 08 01:27:40 2004 +0000
+++ b/lisp/isearch.el	Wed Dec 08 01:38:05 2004 +0000
@@ -1682,7 +1682,7 @@
     ;; single-byte character set, and convert them to Emacs
     ;; characters.
     (if (and isearch-regexp (= char ?\ ))
-	(if (subregexp-context-p isearch-string pos)
+	(if (subregexp-context-p isearch-string (length isearch-string))
 	    (isearch-process-search-string "[ ]" " ")
 	  (isearch-process-search-char char))
       (and enable-multibyte-characters