From: Juanma Barranquero Date: Fri, 8 Jun 2007 19:58:33 +0000 (+0000) Subject: (empty_unibyte_string): Rename from empty_string. X-Git-Tag: emacs-pretest-23.0.90~12397 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7e9fa161dccd2990ea344c4b4b7188383de76a55;p=emacs.git (empty_unibyte_string): Rename from empty_string. (empty_multibyte_string): New canonical empty string. (syms_of_emacs): Don't initialize empty_string. --- diff --git a/src/emacs.c b/src/emacs.c index e235856847f..51a7770bacd 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -133,8 +133,8 @@ Lisp_Object Vinstallation_directory; /* Hook run by `kill-emacs' before it does really anything. */ Lisp_Object Vkill_emacs_hook; -/* An empty lisp string. To avoid having to build any other. */ -Lisp_Object empty_string; +/* Empty lisp strings. To avoid having to build any others. */ +Lisp_Object empty_unibyte_string, empty_multibyte_string; /* Search path separator. */ Lisp_Object Vpath_separator; @@ -2474,9 +2474,6 @@ see `kill-emacs-query-functions' instead. The hook is not run in batch mode, i.e., if `noninteractive' is non-nil. */); Vkill_emacs_hook = Qnil; - empty_string = build_string (""); - staticpro (&empty_string); - DEFVAR_INT ("emacs-priority", &emacs_priority, doc: /* Priority for Emacs to run at. This value is effective only if set before Emacs is dumped,