changeset 32271:4ff70fe0d99b

(top-level) <Qbackground_color, Qforeground_color>: Make them extern (they are defined on xfaces.c). (syms_of_msdos): Don't intern and don't staticpro Qbackground_color and Qforeground_color.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 08 Oct 2000 06:24:44 +0000
parents acb99f4bd01b
children ad080e900685
files src/msdos.c
diffstat 1 files changed, 5 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/msdos.c	Sun Oct 08 06:16:42 2000 +0000
+++ b/src/msdos.c	Sun Oct 08 06:24:44 2000 +0000
@@ -2098,10 +2098,10 @@
   set_menu_bar_lines (f, value, oldval);
 }
 
-/* This was copied from xfns.c  */
-
-Lisp_Object Qbackground_color;
-Lisp_Object Qforeground_color;
+/* This was copied from xfaces.c  */
+
+extern Lisp_Object Qbackground_color;
+extern Lisp_Object Qforeground_color;
 Lisp_Object Qreverse;
 extern Lisp_Object Qtitle;
 
@@ -5229,11 +5229,7 @@
 wide as that tab on the display.  (No effect on MS-DOS.)");
   x_stretch_cursor_p = 0;
 
-  /* The following three are from xfns.c:  */
-  Qbackground_color = intern ("background-color");
-  staticpro (&Qbackground_color);
-  Qforeground_color = intern ("foreground-color");
-  staticpro (&Qforeground_color);
+  /* The following two are from xfns.c:  */
   Qbar = intern ("bar");
   staticpro (&Qbar);
   Qcursor_type = intern ("cursor-type");