Function: org-element--open-end-p

org-element--open-end-p is a byte-compiled function defined in org-element.el.gz.

Signature

(org-element--open-end-p ELEMENT)

Documentation

Check if ELEMENT in current buffer contains extra blank lines after it and does not have closing term.

Examples of such elements are: section, headline, org-data, and footnote-definition.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-element.el.gz
(defsubst org-element--open-end-p (element)
  "Check if ELEMENT in current buffer contains extra blank lines after
it and does not have closing term.

Examples of such elements are: section, headline, org-data,
and footnote-definition."
  (and (org-element-property :contents-end element)
       (= (org-element-property :contents-end element)
          (save-excursion
            (goto-char (org-element-property :end element))
            (skip-chars-backward " \r\n\t")
            (line-beginning-position 2)))))