From a28bd2cf8a18a82d6bc79d107c362faf46e3817c Mon Sep 17 00:00:00 2001 From: yamaoka Date: Fri, 23 Feb 2001 01:03:32 +0000 Subject: [PATCH] * emu.el (char-category for XEmacs): Don't use `int-char' when the function `char-category-list' returns a list of characters. --- ChangeLog | 5 +++++ emu.el | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7e50eef..b21926d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-02-23 Katsumi Yamaoka + + * emu.el (char-category for XEmacs): Don't use `int-char' when the + function `char-category-list' returns a list of characters. + 2001-02-01 NAKAJIMA Mikio * README.ja: Updated as to MAKEIT.BAT and MAKE1.BAT. diff --git a/emu.el b/emu.el index 7ce3e44..8b91770 100644 --- a/emu.el +++ b/emu.el @@ -98,7 +98,12 @@ CHAR can be any multilingual character TABLE defaults to the current buffer's category table." (mapconcat (lambda (chr) - (char-to-string (int-char chr))) + (if (integerp chr) + (char-to-string (int-char chr)) + (char-to-string chr))) + ;; `char-category-list' returns a list of + ;; characters in XEmacs 21.2.25 and later, + ;; otherwise integers. (char-category-list character) "")) ) -- 1.7.10.4