Commit 6b0f9bdf authored by Richard M. Stallman's avatar Richard M. Stallman

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

when setting up printing characters.
parent 3b4490b3
......@@ -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)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment