From: Kenichi Handa Date: Tue, 13 Jan 2004 01:34:56 +0000 (+0000) Subject: (FACE_FOR_CHAR): New args POS and OBJECT. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1651 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=83a90904ea13dd116b89dc56aae57b35aff57d50;p=emacs.git (FACE_FOR_CHAR): New args POS and OBJECT. --- diff --git a/src/dispextern.h b/src/dispextern.h index 7e917908e19..03eda50d714 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -1540,15 +1540,15 @@ struct face_cache with id ID but is suitable for displaying character CHAR. This macro is only meaningful for multibyte character CHAR. */ -#define FACE_FOR_CHAR(F, FACE, CHAR) \ - (ASCII_CHAR_P (CHAR) \ - ? (FACE)->ascii_face->id \ - : face_for_char ((F), (FACE), (CHAR))) +#define FACE_FOR_CHAR(F, FACE, CHAR, POS, OBJECT) \ + (ASCII_CHAR_P (CHAR) \ + ? (FACE)->ascii_face->id \ + : face_for_char ((F), (FACE), (CHAR), (POS), (OBJECT))) #else /* not HAVE_WINDOW_SYSTEM */ #define FACE_SUITABLE_FOR_CHAR_P(FACE, CHAR) 1 -#define FACE_FOR_CHAR(F, FACE, CHAR) ((FACE)->id) +#define FACE_FOR_CHAR(F, FACE, CHAR, POS, OBJECT) ((FACE)->id) #endif /* not HAVE_WINDOW_SYSTEM */