aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorGerd Moellmann2001-10-05 09:49:39 +0000
committerGerd Moellmann2001-10-05 09:49:39 +0000
commitf5c1dd0dc5c566dc4d192dfa04edb4127f45beb8 (patch)
treef09a785800dc85e90ee2d555bf756d079d8740c3 /src/coding.c
parent44c6c0191f10c4841b6230c77ba7ae007b4cd85e (diff)
downloademacs-f5c1dd0dc5c566dc4d192dfa04edb4127f45beb8.tar.gz
emacs-f5c1dd0dc5c566dc4d192dfa04edb4127f45beb8.zip
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)
4110 if (! mask) 4110 if (! mask)
4111 idx = CODING_CATEGORY_IDX_RAW_TEXT; 4111 idx = CODING_CATEGORY_IDX_RAW_TEXT;
4112 4112
4113 val = XSYMBOL (XVECTOR (Vcoding_category_table)->contents[idx])->value; 4113 val = SYMBOL_VALUE (XVECTOR (Vcoding_category_table)->contents[idx]);
4114 4114
4115 if (coding->eol_type != CODING_EOL_UNDECIDED) 4115 if (coding->eol_type != CODING_EOL_UNDECIDED)
4116 { 4116 {
@@ -6881,7 +6881,7 @@ call this function")
6881 { 6881 {
6882 Lisp_Object val; 6882 Lisp_Object val;
6883 6883
6884 val = XSYMBOL (XVECTOR (Vcoding_category_table)->contents[i])->value; 6884 val = SYMBOL_VALUE (XVECTOR (Vcoding_category_table)->contents[i]);
6885 if (!NILP (val)) 6885 if (!NILP (val))
6886 { 6886 {
6887 if (! coding_system_table[i]) 6887 if (! coding_system_table[i])