diff options
| author | Richard M. Stallman | 1997-12-21 02:33:57 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-12-21 02:33:57 +0000 |
| commit | 6b0f9bdfddf6ba954b2357fadcd00b9daaadd965 (patch) | |
| tree | 3c900fee1220d3363e63917a6f315421db3d3f00 | |
| parent | 3b4490b3d11ba8cebe76d506d823cb7e22de458d (diff) | |
| download | emacs-6b0f9bdfddf6ba954b2357fadcd00b9daaadd965.tar.gz emacs-6b0f9bdfddf6ba954b2357fadcd00b9daaadd965.zip | |
(isearch-mode-map): Don't count above 256
when setting up printing characters.
| -rw-r--r-- | lisp/isearch.el | 4 |
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." | |||
| 246 | (define-key map (make-string 1 i) 'isearch-other-control-char) | 246 | (define-key map (make-string 1 i) 'isearch-other-control-char) |
| 247 | (setq i (1+ i))) | 247 | (setq i (1+ i))) |
| 248 | 248 | ||
| 249 | ;; Printing chars extend the search string by default. | 249 | ;; Single-byte printing chars extend the search string by default. |
| 250 | (setq i ?\ ) | 250 | (setq i ?\ ) |
| 251 | (while (< i (length (nth 1 map))) | 251 | (while (< i 256) |
| 252 | (define-key map (vector i) 'isearch-printing-char) | 252 | (define-key map (vector i) 'isearch-printing-char) |
| 253 | (setq i (1+ i))) | 253 | (setq i (1+ i))) |
| 254 | 254 | ||