* coding.c (detect_coding, Fupdate_coding_systems_internal):
* fns.c (Fmd5): Use find_symbol_value rather than SYMBOL_VALUE Since we do not want to see internal Lisp_*fwd objects here.
This commit is contained in:
parent
cc6546c9c7
commit
bae72c12b5
3 changed files with 9 additions and 3 deletions
|
@ -4304,7 +4304,7 @@ detect_coding (coding, src, src_bytes)
|
|||
if (! mask)
|
||||
idx = CODING_CATEGORY_IDX_RAW_TEXT;
|
||||
|
||||
val = SYMBOL_VALUE (XVECTOR (Vcoding_category_table)->contents[idx]);
|
||||
val = find_symbol_value (XVECTOR (Vcoding_category_table)->contents[idx]);
|
||||
|
||||
if (coding->eol_type != CODING_EOL_UNDECIDED)
|
||||
{
|
||||
|
@ -7582,7 +7582,7 @@ call this function. */)
|
|||
{
|
||||
Lisp_Object val;
|
||||
|
||||
val = SYMBOL_VALUE (XVECTOR (Vcoding_category_table)->contents[i]);
|
||||
val = find_symbol_value (XVECTOR (Vcoding_category_table)->contents[i]);
|
||||
if (!NILP (val))
|
||||
{
|
||||
if (! coding_system_table[i])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue