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
40fbd254
Commit
40fbd254
authored
Mar 01, 2002
by
Kenichi Handa
Browse files
Include "character.h" instead of "charset.h".
(Fchar_to_string): Always call CHAR_STRING.
parent
222b0630
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/editfns.c
src/editfns.c
+2
-4
No files found.
src/editfns.c
View file @
40fbd254
...
...
@@ -38,7 +38,7 @@ Boston, MA 02111-1307, USA. */
#include "lisp.h"
#include "intervals.h"
#include "buffer.h"
#include "char
set
.h"
#include "char
acter
.h"
#include "coding.h"
#include "frame.h"
#include "window.h"
...
...
@@ -175,9 +175,7 @@ usage: (char-to-string CHAR) */)
CHECK_NUMBER
(
character
);
len
=
(
SINGLE_BYTE_CHAR_P
(
XFASTINT
(
character
))
?
(
*
str
=
(
unsigned
char
)(
XFASTINT
(
character
)),
1
)
:
char_to_string
(
XFASTINT
(
character
),
str
));
len
=
CHAR_STRING
(
XFASTINT
(
character
),
str
);
return
make_string_from_bytes
(
str
,
1
,
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