# HG changeset patch # User Kim F. Storm # Date 1070060806 0 # Node ID 7ba9466a0ed8fde324cf269d7a334245deb4f281 # Parent d6dc58f9beaa39a9884721f03c0fd6986fd76ac4 (Qcursor_type, Qbar, Qhbar): Declare extern. (syms_of_msdos): Don't intern and staticpro them. diff -r d6dc58f9beaa -r 7ba9466a0ed8 src/msdos.c --- a/src/msdos.c Fri Nov 28 08:59:09 2003 +0000 +++ b/src/msdos.c Fri Nov 28 23:06:46 2003 +0000 @@ -413,7 +413,8 @@ /* A flag to control how to display unibyte 8-bit characters. */ extern int unibyte_display_via_language_environment; -Lisp_Object Qbar, Qhbar; +extern Lisp_Object Qcursor_type; +extern Lisp_Object Qbar, Qhbar; /* The screen colors of the current frame, which serve as the default colors for newly-created frames. */ @@ -1993,8 +1994,6 @@ FRAME_X_DISPLAY_INFO (f)->mouse_face_defer = 0; } -Lisp_Object Qcursor_type; - static void IT_frame_up_to_date (struct frame *f) { @@ -5267,18 +5266,11 @@ #ifndef HAVE_X_WINDOWS /* The following two are from xfns.c: */ - Qbar = intern ("bar"); - staticpro (&Qbar); - Qhbar = intern ("hbar"); - staticpro (&Qhbar); - Qcursor_type = intern ("cursor-type"); - staticpro (&Qcursor_type); Qreverse = intern ("reverse"); staticpro (&Qreverse); DEFVAR_LISP ("dos-unsupported-char-glyph", &Vdos_unsupported_char_glyph, doc: /* *Glyph to display instead of chars not supported by current codepage. - This variable is used only by MSDOS terminals. */); Vdos_unsupported_char_glyph = '\177';