Function: org-priority-valid-cookie-string-p
org-priority-valid-cookie-string-p is a byte-compiled function defined
in org.el.gz.
Signature
(org-priority-valid-cookie-string-p PRIORITY)
Documentation
Return t if the PRIORITY is a valid priority cookie, nil otherwise.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
;;;; Priorities
(defun org-priority-valid-cookie-string-p (priority)
"Return t if the PRIORITY is a valid priority cookie, nil otherwise."
(cond
((stringp priority)
(let ((case-fold-search nil)) ;; Force case-sensitive match
;; (and ... t) to force explicit t/nil
(and (string-match-p org-priority-regexp priority) t)))))