Function: org-org-headline

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

Signature

(org-org-headline HEADLINE CONTENTS INFO)

Documentation

Transcode HEADLINE element back into Org syntax.

CONTENTS is its contents, as a string or nil. INFO is ignored.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-org.el.gz
(defun org-org-headline (headline contents info)
  "Transcode HEADLINE element back into Org syntax.
CONTENTS is its contents, as a string or nil.  INFO is ignored."
  (unless (org-element-property :footnote-section-p headline)
    (unless (plist-get info :with-todo-keywords)
      (org-element-put-property headline :todo-keyword nil))
    (unless (plist-get info :with-tags)
      (org-element-put-property headline :tags nil))
    (unless (plist-get info :with-priority)
      (org-element-put-property headline :priority nil))
    (org-element-put-property headline :level
			      (org-export-get-relative-level headline info))
    (org-element-headline-interpreter headline contents)))