Function: rst-Ttl--validate-indent

rst-Ttl--validate-indent is a byte-compiled function defined in rst.el.gz.

Signature

(rst-Ttl--validate-indent INDENT ADO)

Documentation

Return valid INDENT for ADO or signal error.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/rst.el.gz
(defun rst-Ttl--validate-indent (indent ado)
  ;; testcover: ok.
  "Return valid INDENT for ADO or signal error."
  (if (and ado (rst-Ado-is-transition ado))
      (cl-check-type indent null
		     "Indent for a transition must be nil.")
    (cl-check-type indent (integer 0 *)
		   "Indent for a section header must be non-negative."))
  indent)