From d16bdfc3a1e288643e340848d260bac6443cf445 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 7 May 2010 16:51:16 +0300 Subject: 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'. --- src/w16select.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/w16select.c') diff --git a/src/w16select.c b/src/w16select.c index c6a84e46a60..9ebf6de6250 100644 --- a/src/w16select.c +++ b/src/w16select.c @@ -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)) -- cgit v1.2.1