1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 13:10:57 -08:00

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'.
This commit is contained in:
Eli Zaretskii 2010-05-07 16:51:16 +03:00
parent 9fdec8bc72
commit d16bdfc3a1
3 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,9 @@
2010-05-07 Eli Zaretskii <eliz@gnu.org>
* 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

View file

@ -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)

View file

@ -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"),
Qnil))))
&& ! NILP (Fsymbol_value (Fintern_soft (build_string ("kill-ring"),
Qnil))))
return Qt;
if (EQ (selection, QCLIPBOARD))