Function: LaTeX-match-class-option

LaTeX-match-class-option is a byte-compiled function defined in latex.el.

Signature

(LaTeX-match-class-option REGEXP)

Documentation

Check if a documentclass option matching REGEXP is active.

Return first found class option matching REGEXP, or nil if not found.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defun LaTeX-match-class-option (regexp)
  "Check if a documentclass option matching REGEXP is active.
Return first found class option matching REGEXP, or nil if not found."
  (TeX-member regexp (apply #'append
                            (mapcar #'cdr LaTeX-provided-class-options))
              #'string-match))