Function: TeX-look-at

TeX-look-at is a byte-compiled function defined in latex.el.

Signature

(TeX-look-at LIST)

Documentation

Check if we are looking at the first element of a member of LIST.

If so, return the second element, otherwise return nil.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defun TeX-look-at (list)
  "Check if we are looking at the first element of a member of LIST.
If so, return the second element, otherwise return nil."
  (while (and list
              (not (looking-at (nth 0 (car list)))))
    (setq list (cdr list)))
  (if list
      (nth 1 (car list))
    nil))