Function: latex-down-list
latex-down-list is a byte-compiled function defined in tex-mode.el.gz.
Signature
(latex-down-list)
Documentation
Like (down-list 1) but aware of multi-char elements.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/tex-mode.el.gz
(defun latex-down-list ()
"Like (down-list 1) but aware of multi-char elements."
(forward-comment (point-max))
(let ((forward-sexp-function nil))
(if (not (looking-at "\\\\begin\\>"))
(down-list 1)
(forward-sexp 1)
;; Skip arguments.
(while (looking-at "[ \t]*[[{(]")
(with-syntax-table tex-mode-syntax-table
(forward-sexp))))))