mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(isearch-mode-map): Call set-char-table-range to bind
characters to isearch-printing-char.
This commit is contained in:
parent
5ee54361ba
commit
5760cdc1d4
1 changed files with 2 additions and 5 deletions
|
|
@ -235,11 +235,8 @@ Default value, nil, means edit the string instead."
|
|||
(char-table-p (nth 1 map))
|
||||
(error "The initialization of isearch-mode-map must be updated"))
|
||||
;; Make all multibyte characters search for themselves.
|
||||
(let ((l (generic-character-list))
|
||||
(table (nth 1 map)))
|
||||
(while l
|
||||
(set-char-table-default table (car l) 'isearch-printing-char)
|
||||
(setq l (cdr l))))
|
||||
(set-char-table-range (nth 1 map) (cons #x100 #x2FFFFF)
|
||||
'isearch-printing-char)
|
||||
;; Make function keys, etc, exit the search.
|
||||
(define-key map [t] 'isearch-other-control-char)
|
||||
;; Control chars, by default, end isearch mode transparently.
|
||||
|
|
|
|||
Loading…
Reference in a new issue