diff src/editfns.c @ 46639:8587dd21917c

(Fmessage): Treat "" like nil.
author Richard M. Stallman <rms@gnu.org>
date Tue, 23 Jul 2002 19:08:14 +0000
parents e05dd5b81fc7
children 40c8bb63c063
line wrap: on
line diff
--- a/src/editfns.c	Tue Jul 23 16:52:50 2002 +0000
+++ b/src/editfns.c	Tue Jul 23 19:08:14 2002 +0000
@@ -2918,7 +2918,9 @@
      int nargs;
      Lisp_Object *args;
 {
-  if (NILP (args[0]))
+  if (NILP (args[0])
+      || (STRINGP (args[0])
+	  && SBYTES (args[0]) == 0))
     {
       message (0);
       return Qnil;