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
bde25748
Commit
bde25748
authored
Apr 17, 2009
by
Kenichi Handa
Browse files
(Ftranslate_region_internal): Use Fconcat to make a
string from a vector to handle Latin-1 characters correctly.
parent
b50504f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
src/ChangeLog
src/ChangeLog
+3
-0
src/editfns.c
src/editfns.c
+1
-6
No files found.
src/ChangeLog
View file @
bde25748
2009-04-17 Kenichi Handa <handa@m17n.org>
* editfns.c (Ftranslate_region_internal): Use Fconcat to make a
string from a vector to handle Latin-1 characters correctly.
* ftfont.c (ftfont_pattern_entity): Return a newly allocated
entity even if the cache hits.
...
...
src/editfns.c
View file @
bde25748
...
...
@@ -3147,12 +3147,7 @@ It returns the number of characters changed. */)
if
(
VECTORP
(
val
))
{
int i;
string = Fmake_string (make_number (ASIZE (val)),
AREF (val, 0));
for (i = 1; i < ASIZE (val); i++)
Faset (string, make_number (i), AREF (val, i));
string
=
Fconcat
(
1
,
&
val
);
}
else
{
...
...
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