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
1b9c91ed
Commit
1b9c91ed
authored
Apr 11, 2007
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fchar_to_string): Use CHARACTERP, not INTEGERP.
parent
15e8bd13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/editfns.c
src/editfns.c
+2
-2
No files found.
src/editfns.c
View file @
1b9c91ed
...
...
@@ -205,7 +205,7 @@ usage: (char-to-string CHAR) */)
int
len
;
unsigned
char
str
[
MAX_MULTIBYTE_LENGTH
];
CHECK_
NUMB
ER
(
character
);
CHECK_
CHARACT
ER
(
character
);
len
=
CHAR_STRING
(
XFASTINT
(
character
),
str
);
return
make_string_from_bytes
(
str
,
1
,
len
);
...
...
@@ -2155,7 +2155,7 @@ general_insert_function (insert_func, insert_from_string_func,
for
(
argnum
=
0
;
argnum
<
nargs
;
argnum
++
)
{
val
=
args
[
argnum
];
if
(
INTEG
ERP
(
val
))
if
(
CHARACT
ERP
(
val
))
{
unsigned
char
str
[
MAX_MULTIBYTE_LENGTH
];
int
len
;
...
...
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