Function: char-to-name
char-to-name is a byte-compiled function defined in mule-cmds.el.gz.
Signature
(char-to-name CHAR)
Documentation
Return the Unicode name for CHAR, if it has one, else nil.
Return nil if CHAR is not a character.
Probably introduced at or before Emacs version 30.1.
Source Code
;; Defined in /usr/src/emacs/lisp/international/mule-cmds.el.gz
(defun char-to-name (char)
"Return the Unicode name for CHAR, if it has one, else nil.
Return nil if CHAR is not a character."
(and (characterp char)
(or (get-char-code-property char 'name)
(get-char-code-property char 'old-name))))