Function: org--property-global-or-keyword-value

org--property-global-or-keyword-value is a byte-compiled function defined in org.el.gz.

Signature

(org--property-global-or-keyword-value PROPERTY LITERAL-NIL)

Documentation

Return value for PROPERTY as defined by global properties or by keyword.

Return value is a string. Return nil if property is not set globally or by keyword. Also return nil when PROPERTY is set to
"nil", unless LITERAL-NIL is non-nil.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org--property-global-or-keyword-value (property literal-nil)
  "Return value for PROPERTY as defined by global properties or by keyword.
Return value is a string.  Return nil if property is not set
globally or by keyword.  Also return nil when PROPERTY is set to
\"nil\", unless LITERAL-NIL is non-nil."
  (let ((global
	 (cdr (or (assoc-string property org-keyword-properties t)
		  (assoc-string property org-global-properties t)
		  (assoc-string property org-global-properties-fixed t)))))
    (if literal-nil global (org-not-nil global))))