# HG changeset patch # User Richard M. Stallman # Date 863479120 0 # Node ID 1da61113c0c934401a48a54c3798912954ed5c3b # Parent df8d082029a61b21758aeb5e8e068de2859effc2 (isearch-mode-map): Treat Latin-1, Latin-2 an Latin-3 chars as printing characters. diff -r df8d082029a6 -r 1da61113c0c9 lisp/isearch.el --- a/lisp/isearch.el Mon May 12 22:04:18 1997 +0000 +++ b/lisp/isearch.el Mon May 12 23:18:40 1997 +0000 @@ -209,11 +209,13 @@ (let* ((i 0) (map (make-keymap))) (or (vectorp (nth 1 map)) + (char-table-p (nth 1 map)) (error "The initialization of isearch-mode-map must be updated")) - ;; Give this map a vector 256 long, for dense binding - ;; of a larger range of ordinary characters. - (setcar (cdr map) (make-vector 256 nil)) - + ;; Make Latin-1, Latin-2 and Latin-3 characters + ;; search for themselves. + (set-char-table-range (nth 1 map) [129] 'isearch-printing-char) + (set-char-table-range (nth 1 map) [130] 'isearch-printing-char) + (set-char-table-range (nth 1 map) [131] '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.