1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(isearch-mode-map): Don't count above 256

when setting up printing characters.
This commit is contained in:
Richard M. Stallman 1997-12-21 02:33:57 +00:00
parent 3b4490b3d1
commit 6b0f9bdfdd

View file

@ -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)))