summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-10-05 09:49:39 +0000
committerGerd Moellmann <gerd@gnu.org>2001-10-05 09:49:39 +0000
commitabbbf8db7255ef638c8ed27dd990e9407237cbc8 (patch)
tree6eb465c72c6938b36379aa432272580c4567373c /src/coding.c
parentf5ec9e683c71bc815863c34f4e46e3eb0ef8ab5a (diff)
downloademacs-abbbf8db7255ef638c8ed27dd990e9407237cbc8.tar.gz
Use SYMBOL_VALUE/SET_SYMBOL_VALUE macros instead of accessing
symbols' value directly.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c
index b59bbce7edd..43f1867d9f8 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -4110,7 +4110,7 @@ detect_coding (coding, src, src_bytes)
if (! mask)
idx = CODING_CATEGORY_IDX_RAW_TEXT;
- val = XSYMBOL (XVECTOR (Vcoding_category_table)->contents[idx])->value;
+ val = SYMBOL_VALUE (XVECTOR (Vcoding_category_table)->contents[idx]);
if (coding->eol_type != CODING_EOL_UNDECIDED)
{
@@ -6881,7 +6881,7 @@ call this function")
{
Lisp_Object val;
- val = XSYMBOL (XVECTOR (Vcoding_category_table)->contents[i])->value;
+ val = SYMBOL_VALUE (XVECTOR (Vcoding_category_table)->contents[i]);
if (!NILP (val))
{
if (! coding_system_table[i])