diff options
| author | Gerd Moellmann | 2001-10-05 09:51:48 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 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.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 @@ | |||
| 1 | /* Functions for Sun Windows menus and selection buffer. | 1 | /* Functions for Sun Windows menus and selection buffer. |
| 2 | Copyright (C) 1987, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1999, 2001 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is probably totally obsolete. In any case, the FSF is | 4 | This file is probably totally obsolete. In any case, the FSF is |
| 5 | unwilling to support it. We agreed to include it in our distribution | 5 | unwilling to support it. We agreed to include it in our distribution |
| @@ -366,7 +366,7 @@ sun_item_create (Pair) | |||
| 366 | CHECK_STRING(String, 0); | 366 | CHECK_STRING(String, 0); |
| 367 | Value = Fcdr(Pair); | 367 | Value = Fcdr(Pair); |
| 368 | if (SYMBOLP (Value)) | 368 | if (SYMBOLP (Value)) |
| 369 | Value = XSYMBOL(Value)->value; | 369 | Value = SYMBOL_VALUE (Value); |
| 370 | if (VECTORP (Value)) { | 370 | if (VECTORP (Value)) { |
| 371 | submenu = sun_menu_create (Value); | 371 | submenu = sun_menu_create (Value); |
| 372 | menu_item = menu_create_item | 372 | menu_item = menu_create_item |