Mercurial > emacs
diff src/editfns.c @ 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 | 63639e690611 |
| children | 1260416c7819 |
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); }
