Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0e79d667
Commit
0e79d667
authored
Dec 17, 2001
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(code_convert_region): Update coding->cmp_data->char_offset
before calling decode_coding.
parent
93dec019
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
src/ChangeLog
src/ChangeLog
+6
-1
src/coding.c
src/coding.c
+5
-1
No files found.
src/ChangeLog
View file @
0e79d667
...
...
@@ -5,7 +5,12 @@
2001-12-17 Richard M. Stallman <rms@gnu.org>
* coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING (coding)
* coding.c (code_convert_region): Update coding->cmp_data->char_offset
before calling decode_coding.
* charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal.
* coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING_P (coding)
instead of only for COMPOSITION_DISABLED.
2001-12-16 Richard M. Stallman <rms@gnu.org>
...
...
src/coding.c
View file @
0e79d667
...
...
@@ -5516,7 +5516,11 @@ code_convert_region (from, from_byte, to, to_byte, coding, encodep, replace)
if (encodep)
result = encode_coding (coding, src, dst, len_byte, 0);
else
result
=
decode_coding
(
coding
,
src
,
dst
,
len_byte
,
0
);
{
if (coding->composing != COMPOSITION_DISABLED)
coding->cmp_data->char_offset = from + inserted;
result = decode_coding (coding, src, dst, len_byte, 0);
}
/* The buffer memory is now:
+--------+-------converted-text----+--+------original-text----+---+
...
...
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