Commit d16bdfc3 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Don't use XSYMBOL (foo)->value.

 msdos.c (dos_set_window_size):
 w16select.c (Fx_selection_exists_p): Use `Fsymbol_value (foo)'
 instead of `XSYMBOL (foo)->value'.
parent 9fdec8bc
2010-05-07 Eli Zaretskii <>
* msdos.c (dos_set_window_size):
* w16select.c (Fx_selection_exists_p): Use `Fsymbol_value (foo)'
instead of `XSYMBOL (foo)->value'.
Fix the MS-DOS build, broken by autoconfiscation.
* Don't use Make-style comments past the "start of
......@@ -528,8 +528,7 @@ dos_set_window_size (rows, cols)
/* If the user specified a special video mode for these dimensions,
use that mode. */
sprintf (video_name, "screen-dimensions-%dx%d", *rows, *cols);
video_mode = XSYMBOL (Fintern_soft (build_string (video_name),
Qnil))-> value;
video_mode = Fsymbol_value (Fintern_soft (build_string (video_name), Qnil));
if (INTEGERP (video_mode)
&& (video_mode_value = XINT (video_mode)) > 0)
......@@ -685,8 +685,8 @@ and t is the same as `SECONDARY'. */)
into the clipboard if we run under Windows, so we cannot check
the clipboard alone.) */
if ((EQ (selection, Qnil) || EQ (selection, QPRIMARY))
&& ! NILP (SYMBOL_VALUE (Fintern_soft (build_string ("kill-ring"),
&& ! NILP (Fsymbol_value (Fintern_soft (build_string ("kill-ring"),
return Qt;
if (EQ (selection, QCLIPBOARD))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment