Function: rst-all-ttls

rst-all-ttls is a byte-compiled function defined in rst.el.gz.

Signature

(rst-all-ttls)

Documentation

Return all the section adornments in the current buffer.

Return a list of rst-Ttl with ascending line number.

Uses and sets rst-all-ttls-cache.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/rst.el.gz
(defun rst-all-ttls ()
  "Return all the section adornments in the current buffer.
Return a list of `rst-Ttl' with ascending line number.

Uses and sets `rst-all-ttls-cache'."
  (unless rst-all-ttls-cache
    (setq rst-all-ttls-cache (or (rst-all-ttls-compute) t)))
  (if (eq rst-all-ttls-cache t)
      nil
    (copy-sequence rst-all-ttls-cache)))