diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-10-05 09:51:48 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-10-05 09:51:48 +0000 |
commit | a97569cbf284dc18f285174194de1fa55cc3ee3a (patch) | |
tree | 9768a384073b66ad294bda3b5f889cbeb23559ac /src/sunfns.c | |
parent | a9dff54b9422ed37535789a2095c3d721e8dcba9 (diff) | |
download | emacs-a97569cbf284dc18f285174194de1fa55cc3ee3a.tar.gz emacs-a97569cbf284dc18f285174194de1fa55cc3ee3a.tar.bz2 emacs-a97569cbf284dc18f285174194de1fa55cc3ee3a.zip |
Use SYMBOL_VALUE/ SET_SYMBOL_VALUE macros instead of accessing
symbols' value directly.
Diffstat (limited to 'src/sunfns.c')
-rw-r--r-- | src/sunfns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sunfns.c b/src/sunfns.c index 065e2490828..c5261002576 100644 --- a/src/sunfns.c +++ b/src/sunfns.c @@ -1,5 +1,5 @@ /* Functions for Sun Windows menus and selection buffer. - Copyright (C) 1987, 1999 Free Software Foundation, Inc. + Copyright (C) 1987, 1999, 2001 Free Software Foundation, Inc. This file is probably totally obsolete. In any case, the FSF is unwilling to support it. We agreed to include it in our distribution @@ -366,7 +366,7 @@ sun_item_create (Pair) CHECK_STRING(String, 0); Value = Fcdr(Pair); if (SYMBOLP (Value)) - Value = XSYMBOL(Value)->value; + Value = SYMBOL_VALUE (Value); if (VECTORP (Value)) { submenu = sun_menu_create (Value); menu_item = menu_create_item |