Mercurial > emacs
diff src/print.c @ 102828:503e5715236a
(print_object): Make each lowest sub_char_table start a new line.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Fri, 03 Apr 2009 06:23:49 +0000 |
| parents | e038c1a8307c |
| children | d4c5482e3aa4 |
line wrap: on
line diff
--- a/src/print.c Fri Apr 03 01:57:12 2009 +0000 +++ b/src/print.c Fri Apr 03 06:23:49 2009 +0000 @@ -2116,6 +2116,13 @@ /* We print a char-table as if it were a vector, lumping the parent and default slots in with the character slots. But we add #^ as a prefix. */ + + /* Make each lowest sub_char_table start a new line. + Otherwise we'll make a line extremely long, which + results in slow redisplay. */ + if (SUB_CHAR_TABLE_P (obj) + && XINT (XSUB_CHAR_TABLE (obj)->depth) == 3) + PRINTCHAR ('\n'); PRINTCHAR ('#'); PRINTCHAR ('^'); if (SUB_CHAR_TABLE_P (obj))
