Function: allout-insert-listified

allout-insert-listified is a byte-compiled function defined in allout.el.gz.

Signature

(allout-insert-listified LISTIFIED)

Documentation

Insert contents of listified outline portion in current buffer.

LISTIFIED is a list representing each topic header and body:

 (depth prefix text)

or (depth prefix text bullet-plus)

If bullet-plus is specified, it is inserted just after the entire prefix.

Source Code

;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_  - Copy exposed
;;;_   > allout-insert-listified (listified)
(defun allout-insert-listified (listified)
  "Insert contents of listified outline portion in current buffer.

LISTIFIED is a list representing each topic header and body:

 `(depth prefix text)'

or `(depth prefix text bullet-plus)'

If `bullet-plus' is specified, it is inserted just after the entire prefix."
  (setq listified (cdr listified))
  (let ((prefix (prog1
		    (car listified)
		  (setq listified (cdr listified))))
	(text (prog1
		  (car listified)
		(setq listified (cdr listified))))
	(bullet-plus (car listified)))
    (insert prefix)
    (if bullet-plus (insert (concat " " bullet-plus)))
    (while text
      (insert (car text))
      (if (setq text (cdr text))
	  (insert "\n")))
    (insert "\n")))