Function: allout-stringify-flat-index-plain

allout-stringify-flat-index-plain is a byte-compiled function defined in allout.el.gz.

Signature

(allout-stringify-flat-index-plain FLAT-INDEX)

Documentation

Convert list representing section/subsection/... to document string.

Source Code

;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_   > allout-stringify-flat-index-plain (flat-index)
(defun allout-stringify-flat-index-plain (flat-index)
  "Convert list representing section/subsection/... to document string."
  (let ((delim ".")
	result)
	(while flat-index
	  (setq result (cons (int-to-string (car flat-index))
			     (if result
				 (cons delim result))))
	  (setq flat-index (cdr flat-index)))
    (apply #'concat result)))