Function: char-uppercase-p
char-uppercase-p is a byte-compiled function defined in compat-29.el.
Signature
(char-uppercase-p CHAR)
Documentation
[Compatibility function for char-uppercase-p, defined in Emacs 29.1. See
(compat) Emacs 29.1' for more details.]
Return non-nil if CHAR is an upper-case character. If the Unicode tables are not yet available, e.g. during bootstrap, then gives correct answers only for ASCII characters.
Source Code
;; Defined in ~/.emacs.d/elpa/compat-30.1.0.1/compat-29.el
;;;; Defined in simple.el
(compat-defun char-uppercase-p (char) ;; <compat-tests:char-uppercase-p>
"Return non-nil if CHAR is an upper-case character.
If the Unicode tables are not yet available, e.g. during bootstrap,
then gives correct answers only for ASCII characters."
(cond ((unicode-property-table-internal 'lowercase)
(characterp (get-char-code-property char 'lowercase)))
((and (>= char ?A) (<= char ?Z)))))