diff options
| author | Kenichi Handa | 2002-03-01 01:59:51 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2002-03-01 01:59:51 +0000 |
| commit | 5760cdc1d4784b01d79c66dce07d736a364a57cf (patch) | |
| tree | 5bafc7682be24f4adc671a81c7f4e71c1294971e | |
| parent | 5ee54361ba6d8dcb204f4d00733650422129ee42 (diff) | |
| download | emacs-5760cdc1d4784b01d79c66dce07d736a364a57cf.tar.gz emacs-5760cdc1d4784b01d79c66dce07d736a364a57cf.zip | |
(isearch-mode-map): Call set-char-table-range to bind
characters to isearch-printing-char.
| -rw-r--r-- | lisp/isearch.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index 502285a357b..a3d85dd636a 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -235,11 +235,8 @@ Default value, nil, means edit the string instead." | |||
| 235 | (char-table-p (nth 1 map)) | 235 | (char-table-p (nth 1 map)) |
| 236 | (error "The initialization of isearch-mode-map must be updated")) | 236 | (error "The initialization of isearch-mode-map must be updated")) |
| 237 | ;; Make all multibyte characters search for themselves. | 237 | ;; Make all multibyte characters search for themselves. |
| 238 | (let ((l (generic-character-list)) | 238 | (set-char-table-range (nth 1 map) (cons #x100 #x2FFFFF) |
| 239 | (table (nth 1 map))) | 239 | 'isearch-printing-char) |
| 240 | (while l | ||
| 241 | (set-char-table-default table (car l) 'isearch-printing-char) | ||
| 242 | (setq l (cdr l)))) | ||
| 243 | ;; Make function keys, etc, exit the search. | 240 | ;; Make function keys, etc, exit the search. |
| 244 | (define-key map [t] 'isearch-other-control-char) | 241 | (define-key map [t] 'isearch-other-control-char) |
| 245 | ;; Control chars, by default, end isearch mode transparently. | 242 | ;; Control chars, by default, end isearch mode transparently. |