From 6b0f9bdfddf6ba954b2357fadcd00b9daaadd965 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 21 Dec 1997 02:33:57 +0000 Subject: [PATCH] (isearch-mode-map): Don't count above 256 when setting up printing characters. --- lisp/isearch.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/isearch.el b/lisp/isearch.el index 9d75bc35143..920a4be082d 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -246,9 +246,9 @@ Default value, nil, means edit the string instead." (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))) -- 2.39.2