From: Glenn Morris Date: Sat, 2 Feb 2008 04:19:16 +0000 (+0000) Subject: (latin1-display): Use characterp rather than char-valid-p. X-Git-Tag: emacs-pretest-23.0.90~8249 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9e11995de38f963ad26bffe78138e7d6d9ce6038;p=emacs.git (latin1-display): Use characterp rather than char-valid-p. --- diff --git a/lisp/international/latin1-disp.el b/lisp/international/latin1-disp.el index a4d4ff0c9d0..4263ab6a04f 100644 --- a/lisp/international/latin1-disp.el +++ b/lisp/international/latin1-disp.el @@ -112,8 +112,8 @@ a Unicode font with which to display them." ;; It doesn't look as though we have a Unicode font. (map-char-table (lambda (c uc) - (when (and (char-valid-p c) - (char-valid-p uc) + (when (and (characterp c) + (characterp uc) (not (aref standard-display-table uc))) (aset standard-display-table uc (or (aref standard-display-table c)