From: Gerd Moellmann Date: Wed, 9 May 2001 17:02:00 +0000 (+0000) Subject: (GLYPH_CHAR_VALID_P): Use CHAR_VALID_P. X-Git-Tag: emacs-pretest-21.0.104~572 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e9726794f695b0e0fb58b61b7c471c286c61345c;p=emacs.git (GLYPH_CHAR_VALID_P): Use CHAR_VALID_P. --- diff --git a/src/ChangeLog b/src/ChangeLog index f156bde0602..f92f805d6c5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-05-09 Gerd Moellmann + + * lisp.h (GLYPH_CHAR_VALID_P): Use CHAR_VALID_P. + 2001-05-09 Dave Love * xdisp.c (GIVE_UP): Fix for K&R C. diff --git a/src/lisp.h b/src/lisp.h index 588f826b452..f0fa972ad4c 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -1222,8 +1222,7 @@ typedef unsigned char UCHAR; #define GLYPH_FACE(f, g) (FAST_GLYPH_FACE (g)) /* Return 1 iff GLYPH contains valid character code. */ -#define GLYPH_CHAR_VALID_P(glyph) \ - ((GLYPH) (FAST_GLYPH_CHAR (glyph)) <= MAX_CHAR) +#define GLYPH_CHAR_VALID_P(glyph) CHAR_VALID_P (FAST_GLYPH_CHAR (glyph), 1) /* The ID of the mode line highlighting face. */ #define GLYPH_MODE_LINE_FACE 1