diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2012-06-28 11:50:50 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2012-06-28 11:50:50 +0400 |
commit | e509cfa6065d20e0d8d2b3ce9ac544355521bc89 (patch) | |
tree | 49bb60b82e50f987bdaa095963d07b1c66a5a109 /src/fontset.c | |
parent | a54e2c050b9cf161cbccc3dd4628f8ef6b64f519 (diff) | |
download | emacs-e509cfa6065d20e0d8d2b3ce9ac544355521bc89.tar.gz |
* configure.in: Add glyphs category to --enable-checking option.
(GLYPH_DEBUG): Define if glyphs debugging is enabled.
* src/dispextern.h (GLYPH_DEBUG): Now defined in config.h if
enabled with --enable-checking=[all,glyphs] configure option.
Fix GLYPH_DEBUG usage assuming that it may be undefined,
adjust comments accordingly.
* src/dispnew.c: Fix GLYPH_DEBUG usage assuming that it may be
undefined, adjust comments accordingly.
* src/image.c: Likewise.
* src/scroll.c: Likewise.
* src/w32fns.c: Likewise.
* src/w32term.c: Likewise.
* src/xdisp.c: Likewise.
* src/xfaces.c: Likewise.
* src/xfns.c: Likewise.
* src/xterm.c: Likewise.
Diffstat (limited to 'src/fontset.c')
-rw-r--r-- | src/fontset.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/fontset.c b/src/fontset.c index 98ee89070f9..da54bca2a5c 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -197,9 +197,8 @@ static void accumulate_script_ranges (Lisp_Object, Lisp_Object, Lisp_Object); static void set_fontset_font (Lisp_Object, Lisp_Object); -#ifdef ENABLE_CHECKING - -/* Return 1 if ID is a valid fontset id, else return 0. */ +/* Return 1 if ID is a valid fontset id, else return 0. + Optimized away if ENABLE_CHECKING is not defined. */ static int fontset_id_valid_p (int id) @@ -207,8 +206,6 @@ fontset_id_valid_p (int id) return (id >= 0 && id < ASIZE (Vfontset_table) - 1); } -#endif - /********** MACROS AND FUNCTIONS TO HANDLE FONTSET **********/ |