aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-12-21 20:41:26 +0000
committerGerd Moellmann2000-12-21 20:41:26 +0000
commite9abc2965779d336833fcc683f2ebb13e762820f (patch)
treea75a899e130a7d2db1ca9bd8276108b01bd1f813 /src
parent726950c4dcf535cfc8d54936378a8bf25e6fe40f (diff)
downloademacs-e9abc2965779d336833fcc683f2ebb13e762820f.tar.gz
emacs-e9abc2965779d336833fcc683f2ebb13e762820f.zip
(Fdump_glyph_row) [GLYPH_DEBUG]: Add optional arg
GLYPHS.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 0410b7194f1..7051d817b2e 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -11525,13 +11525,18 @@ glyphs in short form, otherwise show glyphs in long form.")
11525} 11525}
11526 11526
11527 11527
11528DEFUN ("dump-glyph-row", Fdump_glyph_row, Sdump_glyph_row, 1, 1, "", 11528DEFUN ("dump-glyph-row", Fdump_glyph_row, Sdump_glyph_row, 1, 2, "",
11529 "Dump glyph row ROW to stderr.") 11529 "Dump glyph row ROW to stderr.\n\
11530 (row) 11530GLYPH 0 means don't dump glyphs.\n\
11531 Lisp_Object row; 11531GLYPH 1 means dump glyphs in short form.\n\
11532GLYPH > 1 or omitted means dump glyphs on long form.")
11533 (row, glyphs)
11534 Lisp_Object row, glyphs;
11532{ 11535{
11533 CHECK_NUMBER (row, 0); 11536 CHECK_NUMBER (row, 0);
11534 dump_glyph_row (XWINDOW (selected_window)->current_matrix, XINT (row), 1); 11537 dump_glyph_row (XWINDOW (selected_window)->current_matrix,
11538 XINT (row),
11539 INTEGERP (glyphs) ? XINT (glyphs) : 2);
11535 return Qnil; 11540 return Qnil;
11536} 11541}
11537 11542