aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index c24c70c0899..ffcb9cf0a1a 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -9302,7 +9302,10 @@ is nil. */)
9302 for (tail = coding_system_list; CONSP (tail); tail = XCDR (tail)) 9302 for (tail = coding_system_list; CONSP (tail); tail = XCDR (tail))
9303 { 9303 {
9304 elt = XCAR (tail); 9304 elt = XCAR (tail);
9305 attrs = AREF (CODING_SYSTEM_SPEC (elt), 0); 9305 Lisp_Object spec = CODING_SYSTEM_SPEC (elt);
9306 if (!VECTORP (spec))
9307 xsignal1 (Qcoding_system_error, elt);
9308 attrs = AREF (spec, 0);
9306 ASET (attrs, coding_attr_trans_tbl, 9309 ASET (attrs, coding_attr_trans_tbl,
9307 get_translation_table (attrs, 1, NULL)); 9310 get_translation_table (attrs, 1, NULL));
9308 list = Fcons (list2 (elt, attrs), list); 9311 list = Fcons (list2 (elt, attrs), list);