Mercurial > hg > xemacs-beta
diff lisp/descr-text.el @ 5400:aa78b0b0b289
Add various Common Lisp character functions, making porting CL code easier.
2011-04-17 Aidan Kehoe <kehoea@parhasard.net>
* cl-extra.el:
* cl-extra.el ('char<): New.
* cl-extra.el ('char>=): New.
* cl-extra.el ('char>): New.
* cl-extra.el ('char<=): New.
* cl-extra.el (alpha-char-p): New.
* cl-extra.el (graphic-char-p): New.
* cl-extra.el (standard-char-p): New.
* cl-extra.el (char-name): New.
* cl-extra.el (name-char): New.
* cl-extra.el (upper-case-p): New.
* cl-extra.el (lower-case-p): New.
* cl-extra.el (both-case-p): New.
* cl-extra.el (char-upcase): New.
* cl-extra.el (char-downcase): New.
* cl-extra.el (integer-length): New.
Add various functions dealing (mainly) with characters, making
some Common Lisp code easier to port.
* descr-text.el (describe-char-unicode-data):
Add an autoload for this function, used by #'char-name.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 17 Apr 2011 11:14:38 +0100 |
parents | ed74d2ca7082 |
children | 248176c74e6b |
line wrap: on
line diff
--- a/lisp/descr-text.el Thu Apr 14 08:40:18 2011 -0400 +++ b/lisp/descr-text.el Sun Apr 17 11:14:38 2011 +0100 @@ -675,6 +675,7 @@ database-file-name))) ;; End XEmacs additions. +;;;###autoload (defun describe-char-unicode-data (char) "Return a list of Unicode data for unicode CHAR. Each element is a list of a property description and the property value.