aboutsummaryrefslogtreecommitdiffstats
path: root/src/emacs.c
diff options
context:
space:
mode:
authorJuanma Barranquero <[email protected]>2007-06-08 19:58:33 +0000
committerJuanma Barranquero <[email protected]>2007-06-08 19:58:33 +0000
commit7e9fa161dccd2990ea344c4b4b7188383de76a55 (patch)
tree5345c01554d0976e500eb6fcf52269e9f4926c46 /src/emacs.c
parenta74d1c97ee9c08955735db3652ba485352c48379 (diff)
(empty_unibyte_string): Rename from empty_string.
(empty_multibyte_string): New canonical empty string. (syms_of_emacs): Don't initialize empty_string.
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/emacs.c b/src/emacs.c
index e235856847..51a7770bac 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,