aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
authorDmitry Antipov2012-06-28 11:50:50 +0400
committerDmitry Antipov2012-06-28 11:50:50 +0400
commite509cfa6065d20e0d8d2b3ce9ac544355521bc89 (patch)
tree49bb60b82e50f987bdaa095963d07b1c66a5a109 /src/image.c
parenta54e2c050b9cf161cbccc3dd4628f8ef6b64f519 (diff)
downloademacs-e509cfa6065d20e0d8d2b3ce9ac544355521bc89.tar.gz
emacs-e509cfa6065d20e0d8d2b3ce9ac544355521bc89.zip
* 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/image.c')
-rw-r--r--src/image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/image.c b/src/image.c
index 63bac9a8a79..9b1c7f1b280 100644
--- a/src/image.c
+++ b/src/image.c
@@ -8686,7 +8686,7 @@ x_kill_gs_process (Pixmap pixmap, struct frame *f)
8686 Tests 8686 Tests
8687 ***********************************************************************/ 8687 ***********************************************************************/
8688 8688
8689#if GLYPH_DEBUG 8689#ifdef GLYPH_DEBUG
8690 8690
8691DEFUN ("imagep", Fimagep, Simagep, 1, 1, 0, 8691DEFUN ("imagep", Fimagep, Simagep, 1, 1, 0,
8692 doc: /* Value is non-nil if SPEC is a valid image specification. */) 8692 doc: /* Value is non-nil if SPEC is a valid image specification. */)
@@ -8708,7 +8708,7 @@ DEFUN ("lookup-image", Flookup_image, Slookup_image, 1, 1, 0, "")
8708 return make_number (id); 8708 return make_number (id);
8709} 8709}
8710 8710
8711#endif /* GLYPH_DEBUG != 0 */ 8711#endif /* GLYPH_DEBUG */
8712 8712
8713 8713
8714/*********************************************************************** 8714/***********************************************************************
@@ -8922,7 +8922,7 @@ non-numeric, there is no explicit limit on the size of images. */);
8922 defsubr (&Simage_mask_p); 8922 defsubr (&Simage_mask_p);
8923 defsubr (&Simage_metadata); 8923 defsubr (&Simage_metadata);
8924 8924
8925#if GLYPH_DEBUG 8925#ifdef GLYPH_DEBUG
8926 defsubr (&Simagep); 8926 defsubr (&Simagep);
8927 defsubr (&Slookup_image); 8927 defsubr (&Slookup_image);
8928#endif 8928#endif