# HG changeset patch # User Kenichi Handa # Date 1238739829 0 # Node ID 503e5715236a297d627a1b5e0606274292b91cbe # Parent e0b3a06b9b5c8ce91939acb0fea8c305a4c06bcc (print_object): Make each lowest sub_char_table start a new line. diff -r e0b3a06b9b5c -r 503e5715236a src/print.c --- 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))