Function: org-export-get-parent-headline

org-export-get-parent-headline is a byte-compiled function defined in ox.el.gz.

Signature

(org-export-get-parent-headline BLOB)

Documentation

Return BLOB parent headline or nil.

BLOB is the element or object being considered.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox.el.gz
;;;; Topology
;;
;; Here are various functions to retrieve information about the
;; neighborhood of a given element or object.  Neighbors of interest
;; are parent headline (`org-export-get-parent-headline'), first
;; element containing an object, (`org-element-parent-element'),
;; parent table (`org-export-get-parent-table'), previous element or
;; object (`org-export-get-previous-element') and next element or
;; object (`org-export-get-next-element').

(defun org-export-get-parent-headline (blob)
  "Return BLOB parent headline or nil.
BLOB is the element or object being considered."
  (org-element-lineage blob 'headline))