installed as the XEmacs pachage which should be usable by all the XEmacs 21.x
series.
+2003-09-05 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * poem-xm.el (char-length): Don't use `defun-maybe' to define it
+ since this module may be installed as the XEmacs pachage which
+ should be usable by all the XEmacs 21.x series.
+
+\f
2003-07-05 Yuuichi Teranishi <teranisi@gohome.org>
* APEL: Version 10.6 released.
"Return index of character succeeding CHAR whose index is INDEX."
`(1+ ,index))
-(defun-maybe char-length (char)
- "Return indexing length of multi-byte form of CHAR."
- 1)
+(if (not (fboundp 'char-length))
+ (defalias 'char-length
+ (lambda (char)
+ "Return number of bytes a CHARACTER occupies in a string or buffer.
+It always returns 1 in XEmacs. It is for compatibility with MULE 2.3."
+ 1)))
;;; @ string