Function: org-priority-to-string
org-priority-to-string is a byte-compiled function defined in
org.el.gz.
Signature
(org-priority-to-string PRIORITY)
Documentation
Return a string form of PRIORITY based on whether it's numeric or alphabetic.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-priority-to-string (priority)
"Return a string form of PRIORITY based on whether it's numeric or alphabetic."
;; we check whether this is even a valid value, ignoring the current high/low bounds
(if (org-priority-valid-value-p priority t)
(if (org-priority-number-p priority)
(number-to-string priority)
(format "%c" priority))
(error "Invalid priority value `%s'" priority)))