(Fmessage): Treat "" like nil.

This commit is contained in:
Richard M. Stallman 2002-07-23 19:08:44 +00:00
parent 5ef080214c
commit 6076e561e6
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2002-07-23 Richard M. Stallman <rms@gnu.org>
* editfns.c (Fmessage): Treat "" like nil.
2002-07-23 Kenichi Handa <handa@etl.go.jp>
* xdisp.c (face_before_or_after_it_pos): Call

View file

@ -2918,7 +2918,9 @@ usage: (message STRING &rest ARGS) */)
int nargs;
Lisp_Object *args;
{
if (NILP (args[0]))
if (NILP (args[0])
|| (STRINGP (args[0])
&& SBYTES (args[0]) == 0))
{
message (0);
return Qnil;