Function: char-to-name
char-to-name is a byte-compiled function defined in compat-30.el.
Signature
(char-to-name CHAR)
Documentation
[Compatibility function for char-to-name, defined in Emacs 30.1. See (compat)
Emacs 30.1' for more details.]
Return the Unicode name for CHAR, if it has one, else nil. Return nil if CHAR is not a character.
Source Code
;; Defined in ~/.emacs.d/elpa/compat-30.1.0.1/compat-30.el
;;;; Defined in mule-cmds.el
(compat-defun char-to-name (char) ;; <compat-tests:char-to-name>
"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))))