aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c
index 81e8e4e10bc..4e8063543fe 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -2695,6 +2695,8 @@ detect_coding_iso_2022 (coding, detect_info)
2695 struct coding_system *this = &(coding_categories[i]); 2695 struct coding_system *this = &(coding_categories[i]);
2696 Lisp_Object attrs, val; 2696 Lisp_Object attrs, val;
2697 2697
2698 if (this->id < 0)
2699 continue;
2698 attrs = CODING_ID_ATTRS (this->id); 2700 attrs = CODING_ID_ATTRS (this->id);
2699 if (CODING_ISO_FLAGS (this) & CODING_ISO_FLAG_FULL_SUPPORT 2701 if (CODING_ISO_FLAGS (this) & CODING_ISO_FLAG_FULL_SUPPORT
2700 && ! EQ (CODING_ATTR_SAFE_CHARSETS (attrs), Viso_2022_charset_list)) 2702 && ! EQ (CODING_ATTR_SAFE_CHARSETS (attrs), Viso_2022_charset_list))