changeset 20500:cfb872a45411

(isearch-mode-map): Don't count above 256 when setting up printing characters.
author Richard M. Stallman <rms@gnu.org>
date Sun, 21 Dec 1997 02:33:57 +0000
parents 693dbc5a2190
children 4ff9d9b75477
files lisp/isearch.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/isearch.el	Sun Dec 21 02:32:45 1997 +0000
+++ b/lisp/isearch.el	Sun Dec 21 02:33:57 1997 +0000
@@ -246,9 +246,9 @@
 	(define-key map (make-string 1 i) 'isearch-other-control-char)
 	(setq i (1+ i)))
 
-      ;; Printing chars extend the search string by default.
+      ;; Single-byte printing chars extend the search string by default.
       (setq i ?\ )
-      (while (< i (length (nth 1 map)))
+      (while (< i 256)
 	(define-key map (vector i) 'isearch-printing-char)
 	(setq i (1+ i)))