Function: outline-has-subheading-p

outline-has-subheading-p is a byte-compiled function defined in outline.el.gz.

Signature

(outline-has-subheading-p)

Documentation

Return t if this heading has subheadings, nil otherwise.

Source Code

;; Defined in /usr/src/emacs/lisp/outline.el.gz
(defun outline-has-subheading-p ()
  "Return t if this heading has subheadings, nil otherwise."
  (save-excursion
    (outline-back-to-heading)
    (< (save-excursion (outline-next-heading) (point))
       (save-excursion (outline-end-of-subtree) (point)))))