Function: org-export-get-alt-title

org-export-get-alt-title is a byte-compiled function defined in ox.el.gz.

Signature

(org-export-get-alt-title HEADLINE _)

Documentation

Return alternative title for HEADLINE, as a secondary string.

If no optional title is defined, fall-back to the regular title.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox.el.gz
(defun org-export-get-alt-title (headline _)
  "Return alternative title for HEADLINE, as a secondary string.
If no optional title is defined, fall-back to the regular title."
  (let ((alt (org-element-property :ALT_TITLE headline)))
    (if alt (org-element-parse-secondary-string
	     alt (org-element-restriction 'headline) headline)
      (org-element-property :title headline))))