diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-13 16:22:35 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-13 16:22:35 -0700 |
commit | 239f9db96059f3f76e4b4a6f31f6eb56f642ea84 (patch) | |
tree | d37c48bf372a31f9433c35c6128e9401f5335b53 /src/fontset.h | |
parent | dfcf35798287d2483c1136d156e0f692ccea3b18 (diff) | |
download | emacs-239f9db96059f3f76e4b4a6f31f6eb56f642ea84.tar.gz |
* font.c, fontset.c: Make symbols static if they're not exported.
* dispextern.h (FACE_SUITABLE_FOR_ASCII_CHAR_P): New macro.
(FACE_SUITABLE_FOR_CHAR_P): Use it.
* font.c (font_close_object): Now static.
* font.h (font_close_object): Remove.
* fontset.c (FONTSET_OBJLIST): Remove.
(free_realized_fontset) #if-0 the body, which does nothing.
(face_suitable_for_char_p): #if-0, as it's never called.
* fontset.h (face_suitable_for_char_p): Remove decl.
* xfaces.c (face_at_string_position): Use
FACE_SUITABLE_FOR_ASCII_CHAR_P, not FACE_SUITABLE_FOR_CHAR_P,
since 0 is always ASCII.
Diffstat (limited to 'src/fontset.h')
-rw-r--r-- | src/fontset.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fontset.h b/src/fontset.h index fe2e4fe0ca4..8831f4ce0b7 100644 --- a/src/fontset.h +++ b/src/fontset.h @@ -32,7 +32,6 @@ extern void (*check_window_system_func) (void); struct face; extern void free_face_fontset (FRAME_PTR, struct face *); -extern int face_suitable_for_char_p (struct face *, int); extern int face_for_char (FRAME_PTR, struct face *, int, int, Lisp_Object); extern Lisp_Object font_for_char (struct face *, int, int, Lisp_Object); @@ -51,4 +50,3 @@ struct font; extern int face_for_font (struct frame *, Lisp_Object, struct face *); #endif /* EMACS_FONTSET_H */ - |