From: Richard M. Stallman Date: Sun, 21 Dec 1997 02:33:57 +0000 (+0000) Subject: (isearch-mode-map): Don't count above 256 X-Git-Tag: emacs-20.3~2574 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6b0f9bdfddf6ba954b2357fadcd00b9daaadd965;p=emacs.git (isearch-mode-map): Don't count above 256 when setting up printing characters. --- 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)))