Function: TeX-mode-prefix

TeX-mode-prefix is a byte-compiled function defined in tex.el.

Signature

(TeX-mode-prefix &optional MODE)

Documentation

Return the prefix for the symbol MODE as string.

If no mode is given the current major mode is used.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-mode-prefix (&optional mode)
  "Return the prefix for the symbol MODE as string.
If no mode is given the current major mode is used."
  (cdr (assoc (or mode major-mode) '((plain-TeX-mode . "plain-TeX")
                                     (LaTeX-mode . "LaTeX")
                                     (AmSTeX-mode . "AmSTeX")
                                     (docTeX-mode . "docTeX")
                                     (Texinfo-mode . "Texinfo")
                                     (ConTeXt-mode . "ConTeXt")))))