Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c6b278e7
Commit
c6b278e7
authored
May 14, 2008
by
Kenichi Handa
Browse files
(detect_coding_iso_2022): Ignore a coding category that
has no corresponding coding system.
parent
90546022
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
489 additions
and
0 deletions
+489
-0
src/ChangeLog
src/ChangeLog
+487
-0
src/coding.c
src/coding.c
+2
-0
No files found.
src/ChangeLog
View file @
c6b278e7
This diff is collapsed.
Click to expand it.
src/coding.c
View file @
c6b278e7
...
...
@@ -2695,6 +2695,8 @@ detect_coding_iso_2022 (coding, detect_info)
struct coding_system *this = &(coding_categories[i]);
Lisp_Object attrs, val;
if (this->id < 0)
continue;
attrs = CODING_ID_ATTRS (this->id);
if (CODING_ISO_FLAGS (this) & CODING_ISO_FLAG_FULL_SUPPORT
&& ! EQ (CODING_ATTR_SAFE_CHARSETS (attrs), Viso_2022_charset_list))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment