diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-10-05 09:49:39 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-10-05 09:49:39 +0000 |
commit | abbbf8db7255ef638c8ed27dd990e9407237cbc8 (patch) | |
tree | 6eb465c72c6938b36379aa432272580c4567373c /src/coding.c | |
parent | f5ec9e683c71bc815863c34f4e46e3eb0ef8ab5a (diff) | |
download | emacs-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.c | 4 |
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]) |