Use SYMBOL_VALUE/SET_SYMBOL_VALUE macros instead of accessing

symbols' value directly.
This commit is contained in:
Gerd Moellmann 2001-10-05 09:49:39 +00:00
parent 44c6c0191f
commit f5c1dd0dc5
5 changed files with 12 additions and 12 deletions

View file

@ -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])