Mercurial > emacs
changeset 88372:7d0adc8c7f07
Include "character.h" instead of "charset.h".
(Fchar_to_string): Always call CHAR_STRING.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 01 Mar 2002 01:37:55 +0000 |
parents | 6416d2c35321 |
children | 9c612c1faba4 |
files | src/editfns.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/editfns.c Fri Mar 01 01:26:16 2002 +0000 +++ b/src/editfns.c Fri Mar 01 01:37:55 2002 +0000 @@ -38,7 +38,7 @@ #include "lisp.h" #include "intervals.h" #include "buffer.h" -#include "charset.h" +#include "character.h" #include "coding.h" #include "frame.h" #include "window.h" @@ -175,9 +175,7 @@ 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); }