aboutsummaryrefslogtreecommitdiffstats
path: root/src/w16select.c
diff options
context:
space:
mode:
authorGerd Moellmann2001-10-05 09:51:48 +0000
committerGerd Moellmann2001-10-05 09:51:48 +0000
commita97569cbf284dc18f285174194de1fa55cc3ee3a (patch)
tree9768a384073b66ad294bda3b5f889cbeb23559ac /src/w16select.c
parenta9dff54b9422ed37535789a2095c3d721e8dcba9 (diff)
downloademacs-a97569cbf284dc18f285174194de1fa55cc3ee3a.tar.gz
emacs-a97569cbf284dc18f285174194de1fa55cc3ee3a.zip
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 @@
1/* 16-bit Windows Selection processing for emacs on MS-Windows 1/* 16-bit Windows Selection processing for emacs on MS-Windows
2 Copyright (C) 1996, 1997 Free Software Foundation. 2 Copyright (C) 1996, 1997, 2001 Free Software Foundation.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -714,8 +714,8 @@ and t is the same as `SECONDARY'.")
714 into the clipboard if we run under Windows, so we cannot check 714 into the clipboard if we run under Windows, so we cannot check
715 the clipboard alone.) */ 715 the clipboard alone.) */
716 if ((EQ (selection, Qnil) || EQ (selection, QPRIMARY)) 716 if ((EQ (selection, Qnil) || EQ (selection, QPRIMARY))
717 && ! NILP (XSYMBOL (Fintern_soft (build_string ("kill-ring"), 717 && ! NILP (SYMBOL_VALUE (Fintern_soft (build_string ("kill-ring"),
718 Qnil))->value)) 718 Qnil))))
719 return Qt; 719 return Qt;
720 720
721 if (EQ (selection, QCLIPBOARD)) 721 if (EQ (selection, QCLIPBOARD))