changeset 46639:8587dd21917c

(Fmessage): Treat "" like nil.
author Richard M. Stallman <rms@gnu.org>
date Tue, 23 Jul 2002 19:08:14 +0000
parents b41d86e98fdd
children 092fdaf5781b
files src/editfns.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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;