summaryrefslogtreecommitdiff
path: root/src/w16select.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-10-05 09:51:48 +0000
committerGerd Moellmann <gerd@gnu.org>2001-10-05 09:51:48 +0000
commita97569cbf284dc18f285174194de1fa55cc3ee3a (patch)
tree9768a384073b66ad294bda3b5f889cbeb23559ac /src/w16select.c
parenta9dff54b9422ed37535789a2095c3d721e8dcba9 (diff)
downloademacs-a97569cbf284dc18f285174194de1fa55cc3ee3a.tar.gz
Use SYMBOL_VALUE/ SET_SYMBOL_VALUE macros instead of accessing
symbols' value directly.
Diffstat (limited to 'src/w16select.c')
-rw-r--r--src/w16select.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/w16select.c b/src/w16select.c
index df739a1356c..f92e1a8c173 100644
--- a/src/w16select.c
+++ b/src/w16select.c
@@ -1,5 +1,5 @@
/* 16-bit Windows Selection processing for emacs on MS-Windows
- Copyright (C) 1996, 1997 Free Software Foundation.
+ Copyright (C) 1996, 1997, 2001 Free Software Foundation.
This file is part of GNU Emacs.
@@ -714,8 +714,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 (XSYMBOL (Fintern_soft (build_string ("kill-ring"),
- Qnil))->value))
+ && ! NILP (SYMBOL_VALUE (Fintern_soft (build_string ("kill-ring"),
+ Qnil))))
return Qt;
if (EQ (selection, QCLIPBOARD))