diff options
| -rw-r--r-- | src/xdisp.c | 15 |
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 | ||
| 11528 | DEFUN ("dump-glyph-row", Fdump_glyph_row, Sdump_glyph_row, 1, 1, "", | 11528 | DEFUN ("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) | 11530 | GLYPH 0 means don't dump glyphs.\n\ |
| 11531 | Lisp_Object row; | 11531 | GLYPH 1 means dump glyphs in short form.\n\ |
| 11532 | GLYPH > 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 | ||