Function: LaTeX-env-list

LaTeX-env-list is a byte-compiled function defined in latex.el.

Signature

(LaTeX-env-list ENVIRONMENT)

Documentation

Insert ENVIRONMENT and the first item.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defun LaTeX-env-list (environment)
  "Insert ENVIRONMENT and the first item."
  (let ((label (TeX-read-string "Default Label: ")))
    (LaTeX-insert-environment environment
                              (format "{%s}{}" label))
    (end-of-line 0)
    (delete-char 1)
    (delete-horizontal-space))
  (LaTeX-insert-item))