summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-12-21 02:33:57 +0000
committerRichard M. Stallman <rms@gnu.org>1997-12-21 02:33:57 +0000
commit6b0f9bdfddf6ba954b2357fadcd00b9daaadd965 (patch)
tree3c900fee1220d3363e63917a6f315421db3d3f00 /lisp/isearch.el
parent3b4490b3d11ba8cebe76d506d823cb7e22de458d (diff)
downloademacs-6b0f9bdfddf6ba954b2357fadcd00b9daaadd965.tar.gz
(isearch-mode-map): Don't count above 256
when setting up printing characters.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el4
1 files 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)))