changeset 81275:635cfa62c941

(Fformat_mode_line, syms_of_xdisp): Use empty_unibyte_string.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 08 Jun 2007 20:05:03 +0000
parents 516508c377db
children 343ad02b4c24
files src/xdisp.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Fri Jun 08 20:01:38 2007 +0000
+++ b/src/xdisp.c	Fri Jun 08 20:05:03 2007 +0000
@@ -17342,7 +17342,7 @@
   CHECK_BUFFER (buffer);
 
   if (NILP (format))
-    return build_string ("");
+    return empty_unibyte_string;
 
   if (no_props)
     face = Qnil;
@@ -17400,7 +17400,7 @@
     {
       mode_line_string_list = Fnreverse (mode_line_string_list);
       str = Fmapconcat (intern ("identity"), mode_line_string_list,
-			make_string ("", 0));
+			empty_unibyte_string);
     }
 
   unbind_to (count, Qnil);
@@ -24081,7 +24081,7 @@
     = Vframe_title_format
     = Fcons (intern ("multiple-frames"),
 	     Fcons (build_string ("%b"),
-		    Fcons (Fcons (empty_string,
+		    Fcons (Fcons (empty_unibyte_string,
 				  Fcons (intern ("invocation-name"),
 					 Fcons (build_string ("@"),
 						Fcons (intern ("system-name"),