Function: org-get-tag-face

org-get-tag-face is a byte-compiled function defined in org.el.gz.

Signature

(org-get-tag-face TAG)

Documentation

Get the right face for TAG.

If TAG is a number, get the corresponding match group.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-get-tag-face (tag)
  "Get the right face for TAG.
If TAG is a number, get the corresponding match group."
  (let ((tag (if (wholenump tag) (match-string tag) tag)))
    (or (org-face-from-face-or-color
	 'tag 'org-tag (cdr (assoc tag org-tag-faces)))
	'org-tag)))