diff options
| author | Kenichi Handa | 2009-04-03 06:26:50 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2009-04-03 06:26:50 +0000 |
| commit | 223509a3a0170623fd9d6019dbdfbc26bde71553 (patch) | |
| tree | d54a65c998a2c2638f1877f96c850d4fc39f66e9 /src | |
| parent | 11e244d81598a750257d83e5c2e07771abb36698 (diff) | |
| download | emacs-223509a3a0170623fd9d6019dbdfbc26bde71553.tar.gz emacs-223509a3a0170623fd9d6019dbdfbc26bde71553.zip | |
(print_object): Make each lowest sub_char_table start a new line.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/print.c | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1b2af1639ea..08be07b117d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-04-03 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * print.c (print_object): Make each lowest sub_char_table start a | ||
| 4 | new line (Bug#2866). | ||
| 5 | |||
| 1 | 2009-04-02 Kenichi Handa <handa@m17n.org> | 6 | 2009-04-02 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * fontset.c (fontset_font): Record no-font when a fontset | 8 | * fontset.c (fontset_font): Record no-font when a fontset |
diff --git a/src/print.c b/src/print.c index 738f4f678ed..e78f593c7b5 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -2116,6 +2116,13 @@ print_object (obj, printcharfun, escapeflag) | |||
| 2116 | /* We print a char-table as if it were a vector, | 2116 | /* We print a char-table as if it were a vector, |
| 2117 | lumping the parent and default slots in with the | 2117 | lumping the parent and default slots in with the |
| 2118 | character slots. But we add #^ as a prefix. */ | 2118 | character slots. But we add #^ as a prefix. */ |
| 2119 | |||
| 2120 | /* Make each lowest sub_char_table start a new line. | ||
| 2121 | Otherwise we'll make a line extremely long, which | ||
| 2122 | results in slow redisplay. */ | ||
| 2123 | if (SUB_CHAR_TABLE_P (obj) | ||
| 2124 | && XINT (XSUB_CHAR_TABLE (obj)->depth) == 3) | ||
| 2125 | PRINTCHAR ('\n'); | ||
| 2119 | PRINTCHAR ('#'); | 2126 | PRINTCHAR ('#'); |
| 2120 | PRINTCHAR ('^'); | 2127 | PRINTCHAR ('^'); |
| 2121 | if (SUB_CHAR_TABLE_P (obj)) | 2128 | if (SUB_CHAR_TABLE_P (obj)) |