# HG changeset patch # User Ben Wing # Date 1263559445 21600 # Node ID 437323273039e15f2cad868d20923985ec7effe4 # Parent 49de55c09f18efba80184cb0a365f07dcad67a40 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 * doprnt.c (emacs_doprnt_1): Cosmetic: Use Qunbound, not Qnil as second arg to call to syntax_error() to get cleaner error message. diff -r 49de55c09f18 -r 437323273039 src/ChangeLog --- a/src/ChangeLog Fri Jan 15 05:42:21 2010 -0600 +++ b/src/ChangeLog Fri Jan 15 06:44:05 2010 -0600 @@ -1,3 +1,9 @@ +2010-01-15 Ben Wing + + * doprnt.c (emacs_doprnt_1): + Cosmetic: Use Qunbound, not Qnil as second arg to call to + syntax_error() to get cleaner error message. + 2010-01-15 Ben Wing * intl-encap-win32.c: diff -r 49de55c09f18 -r 437323273039 src/doprnt.c --- 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);