Mercurial > hg > xemacs-beta
changeset 5086:47bcef7b0b44
Print multiple values with #<INTERNAL OBJECT (XEmacs bug?) ...>, too
2010-03-02 Aidan Kehoe <kehoea@parhasard.net>
* eval.c (print_multiple_value):
Say #<INTERNAL OBJECT (XEmacs bug?) ...> when printing these, for
consistency with the rest of the print code.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Tue, 02 Mar 2010 13:20:51 +0000 |
parents | 1ee30d3f9dd0 |
children | 818eeb72e0fb |
files | src/ChangeLog src/eval.c |
diffstat | 2 files changed, 12 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Tue Mar 02 13:02:36 2010 +0000 +++ b/src/ChangeLog Tue Mar 02 13:20:51 2010 +0000 @@ -1,3 +1,9 @@ +2010-03-02 Aidan Kehoe <kehoea@parhasard.net> + + * eval.c (print_multiple_value): + Say #<INTERNAL OBJECT (XEmacs bug?) ...> when printing these, for + consistency with the rest of the print code. + 2010-03-01 Aidan Kehoe <kehoea@parhasard.net> * lisp.h (PARSE_KEYWORDS): New macro, for parsing keyword
--- a/src/eval.c Tue Mar 02 13:02:36 2010 +0000 +++ b/src/eval.c Tue Mar 02 13:20:51 2010 +0000 @@ -4608,10 +4608,9 @@ printing_unreadable_object ("multiple values"); } - if (0 == count) - { - write_msg_string (printcharfun, "#<zero-length multiple value>"); - } + write_fmt_string (printcharfun, + "#<INTERNAL OBJECT (XEmacs bug?) %d multiple values," + " data (", count); for (index = 0; index < count;) { @@ -4632,9 +4631,11 @@ if (count > 1 && index < count) { - write_ascstring (printcharfun, " ;\n"); + write_ascstring (printcharfun, " "); } } + + write_fmt_string (printcharfun, ") 0x%lx>", (unsigned long) XPNTR (obj)); } static Lisp_Object