;; Copyright (C) 1995,1996,1997,1998 Free Software Foundation, Inc.
;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
;; Copyright (C) 1995,1996,1997,1998 Free Software Foundation, Inc.
;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;; Keywords: emulation, compatibility, NEmacs, MULE, Emacs/mule, XEmacs
+;; Keywords: emulation, compatibility, Nemacs, MULE, Emacs/mule, XEmacs
- (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.
(defun code-convert-string (str ic oc)
"Convert code in STRING from SOURCE code to TARGET code,
(defun code-convert-string (str ic oc)
"Convert code in STRING from SOURCE code to TARGET code,
(defun code-convert-string (str ic oc)
"Convert code in STRING from SOURCE code to TARGET code,
(defun code-convert-string (str ic oc)
"Convert code in STRING from SOURCE code to TARGET code,
(and (eq emacs-major-version 20)
(< emacs-minor-version (if (featurep 'xemacs) 3 1))))
(eval-after-load "enriched"
(and (eq emacs-major-version 20)
(< emacs-minor-version (if (featurep 'xemacs) 3 1))))
(eval-after-load "enriched"