Function: org-tag-inherit-p

org-tag-inherit-p is a byte-compiled function defined in org.el.gz.

Signature

(org-tag-inherit-p TAG)

Documentation

Check if TAG is one that should be inherited.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-tag-inherit-p (tag)
  "Check if TAG is one that should be inherited."
  (cond
   ((member tag org-tags-exclude-from-inheritance) nil)
   ((eq org-use-tag-inheritance t) t)
   ((not org-use-tag-inheritance) nil)
   ((stringp org-use-tag-inheritance)
    (string-match org-use-tag-inheritance tag))
   ((listp org-use-tag-inheritance)
    (member tag org-use-tag-inheritance))
   (t (error "Invalid setting of `org-use-tag-inheritance'"))))