Mercurial > hg > xemacs-beta
diff src/doprnt.c @ 4876:437323273039
Cosmetic: Use Qunbound, not Qnil as second arg to call to syntax_error() to get cleaner error message
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-01-15 Ben Wing <ben@xemacs.org>
* doprnt.c (emacs_doprnt_1):
Cosmetic: Use Qunbound, not Qnil as second arg to call to
syntax_error() to get cleaner error message.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Fri, 15 Jan 2010 06:44:05 -0600 |
parents | b5e1d4f6b66f |
children | 16112448d484 |
line wrap: on
line diff
--- a/src/doprnt.c Fri Jan 15 05:42:21 2010 -0600 +++ b/src/doprnt.c Fri Jan 15 06:44:05 2010 -0600 @@ -602,7 +602,7 @@ sprintf (msg, "format specifier %%%c doesn't match argument type", ch); - syntax_error (msg, Qnil); + syntax_error (msg, Qunbound); } else if (strchr (double_converters, ch)) { @@ -725,7 +725,7 @@ CIbyte msg[60]; sprintf (msg, "invalid character value %d to %%c spec", a); - syntax_error (msg, Qnil); + syntax_error (msg, Qunbound); } charlen = set_itext_ichar (charbuf, a);