Function: rst-Stn-get-text
rst-Stn-get-text is a byte-compiled function defined in rst.el.gz.
Signature
(rst-Stn-get-text SELF &optional DEFAULT)
Documentation
Return title text of SELF or DEFAULT if SELF is a missing node.
For a missing node and no DEFAULT given return a standard title text.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/rst.el.gz
(defun rst-Stn-get-text (self &optional default)
;; testcover: ok.
"Return title text of SELF or DEFAULT if SELF is a missing node.
For a missing node and no DEFAULT given return a standard title text."
(cl-check-type self rst-Stn)
(let ((ttl (rst-Stn-ttl self)))
(cond
(ttl
(rst-Ttl-text ttl))
(default)
("[missing node]"))))