changeset 81282:99d1af64a544

(cmd_error_internal): Use empty_unibyte_string.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 08 Jun 2007 20:11:04 +0000
parents 323c37a99c44
children f5adf7770714
files src/keyboard.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Fri Jun 08 20:10:01 2007 +0000
+++ b/src/keyboard.c	Fri Jun 08 20:11:04 2007 +0000
@@ -1249,7 +1249,7 @@
   /* Use user's specified output function if any.  */
   if (!NILP (Vcommand_error_function))
     call3 (Vcommand_error_function, data,
-	   build_string (context ? context : ""),
+	   context ? build_string (context) : empty_unibyte_string,
 	   Vsignaling_function);
   /* If the window system or terminal frame hasn't been initialized
      yet, or we're not interactive, write the message to stderr and exit.  */