# HG changeset patch # User Eli Zaretskii # Date 1273240276 -10800 # Node ID a5fcd78ad3eb614bb59244d74c476cf11365a673 # Parent ffcbc15ab440516ba61720add48ba5419e38db8b 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'. diff -r ffcbc15ab440 -r a5fcd78ad3eb src/ChangeLog --- a/src/ChangeLog Fri May 07 15:57:24 2010 +0300 +++ b/src/ChangeLog Fri May 07 16:51:16 2010 +0300 @@ -1,5 +1,9 @@ 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. * Makefile.in: Don't use Make-style comments past the "start of diff -r ffcbc15ab440 -r a5fcd78ad3eb src/msdos.c --- a/src/msdos.c Fri May 07 15:57:24 2010 +0300 +++ b/src/msdos.c Fri May 07 16:51:16 2010 +0300 @@ -528,8 +528,7 @@ /* 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) diff -r ffcbc15ab440 -r a5fcd78ad3eb src/w16select.c --- a/src/w16select.c Fri May 07 15:57:24 2010 +0300 +++ b/src/w16select.c Fri May 07 16:51:16 2010 +0300 @@ -685,8 +685,8 @@ 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"), - Qnil)))) + && ! NILP (Fsymbol_value (Fintern_soft (build_string ("kill-ring"), + Qnil)))) return Qt; if (EQ (selection, QCLIPBOARD))