Function: texinfo-do-itemize

texinfo-do-itemize is a byte-compiled function defined in texinfmt.el.gz.

Signature

(texinfo-do-itemize FROM)

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/texinfmt.el.gz
;; At the @end, indent all the lines within the construct
;; except those marked with backspace.  FROM says where
;; construct started.
(defun texinfo-do-itemize (from)
  (save-excursion
   (while (progn (forward-line -1)
                 (>= (point) from))
     (if (= (following-char) ?\b)
         (save-excursion
           (delete-char 1)
           (end-of-line)
           (delete-char 6))
       (if (not (looking-at "[ \t]*$"))
           (save-excursion (insert "     ")))))))