aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorStefan Monnier2007-11-19 07:40:51 +0000
committerStefan Monnier2007-11-19 07:40:51 +0000
commitbae72c12b51affc4dbe7284857af5be9cee83c81 (patch)
tree4bed3bc3b034247b565655d100699374c54ca170 /src/coding.c
parentcc6546c9c751c3556db59022e0caddbd4a91d22a (diff)
downloademacs-bae72c12b51affc4dbe7284857af5be9cee83c81.tar.gz
emacs-bae72c12b51affc4dbe7284857af5be9cee83c81.zip
* 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.
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 da6049cafbd..331b94e30a6 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -4304,7 +4304,7 @@ detect_coding (coding, src, src_bytes)
4304 if (! mask) 4304 if (! mask)
4305 idx = CODING_CATEGORY_IDX_RAW_TEXT; 4305 idx = CODING_CATEGORY_IDX_RAW_TEXT;
4306 4306
4307 val = SYMBOL_VALUE (XVECTOR (Vcoding_category_table)->contents[idx]); 4307 val = find_symbol_value (XVECTOR (Vcoding_category_table)->contents[idx]);
4308 4308
4309 if (coding->eol_type != CODING_EOL_UNDECIDED) 4309 if (coding->eol_type != CODING_EOL_UNDECIDED)
4310 { 4310 {
@@ -7582,7 +7582,7 @@ call this function. */)
7582 { 7582 {
7583 Lisp_Object val; 7583 Lisp_Object val;
7584 7584
7585 val = SYMBOL_VALUE (XVECTOR (Vcoding_category_table)->contents[i]); 7585 val = find_symbol_value (XVECTOR (Vcoding_category_table)->contents[i]);
7586 if (!NILP (val)) 7586 if (!NILP (val))
7587 { 7587 {
7588 if (! coding_system_table[i]) 7588 if (! coding_system_table[i])