Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
62b3ef1d
Commit
62b3ef1d
authored
Oct 13, 2000
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(code_convert_region): Be sure to initialize coding->category_idx.
parent
c744452b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
src/coding.c
src/coding.c
+8
-5
No files found.
src/coding.c
View file @
62b3ef1d
...
...
@@ -4800,11 +4800,14 @@ code_convert_region (from, from_byte, to, to_byte, coding, encodep, replace)
{
detect_coding
(
coding
,
BYTE_POS_ADDR
(
from_byte
),
len_byte
);
if
(
coding
->
type
==
coding_type_undecided
)
/* It seems that the text contains only ASCII, but we
should not left it undecided because the deeper
decoding routine (decode_coding) tries to detect the
encodings again in vain. */
coding
->
type
=
coding_type_emacs_mule
;
{
/* It seems that the text contains only ASCII, but we
should not left it undecided because the deeper
decoding routine (decode_coding) tries to detect the
encodings again in vain. */
coding
->
type
=
coding_type_emacs_mule
;
coding
->
category_idx
=
CODING_CATEGORY_IDX_EMACS_MULE
;
}
}
if
(
coding
->
eol_type
==
CODING_EOL_UNDECIDED
&&
coding
->
type
!=
coding_type_ccl
)
...
...
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