From: Ken Raeburn <raeburn@raeburn.org>
Date: Mon, 17 Aug 2009 00:48:14 +0000 (+0000)
Subject: (main): Don't call syms_of_data twice.
X-Git-Tag: emacs-pretest-23.1.90~1823
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4230ab74b7bec1bc05801d91117f133efe88df25;p=emacs.git

(main): Don't call syms_of_data twice.
---

diff --git a/src/ChangeLog b/src/ChangeLog
index 123e7a845cd..d9b4984b4d4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-17  Ken Raeburn  <raeburn@raeburn.org>
+
+	* emacs.c (main): Don't call syms_of_data twice.
+
 2009-08-16  Michael Albinus  <michael.albinus@gmx.de>
 
 	* dbusbind.c (xd_initialize): Add connection file descriptor to
diff --git a/src/emacs.c b/src/emacs.c
index 7e9373d305c..657465da833 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1630,10 +1630,8 @@ main (int argc, char **argv)
 
   if (!initialized)
     {
-      /* The basic levels of Lisp must come first.  */
-      /* And data must come first of all
-	 for the sake of symbols like error-message.  */
-      syms_of_data ();
+      /* The basic levels of Lisp must come first.  Note that
+	 syms_of_data and some others have already been called.  */
       syms_of_chartab ();
       syms_of_lread ();
       syms_of_print ();