Variable: TeX-style-hook-dialect

TeX-style-hook-dialect is a variable defined in tex.el.

Value

:latex

Documentation

Dialect for running hooks locally to the considered file.

Supported values are described below:

* :bibtex for files in BibTeX mode.
* :context for files in ConTeXt mode.
* :latex for files in LaTeX mode, or any mode derived
             thereof.
* :plain-tex for files in plain-TeX mode.
* :texinfo for Texinfo files.
* :classopt for class options of LaTeX document. Just
              considered as a pseudo-dialect.

Purpose is notably to prevent non-Texinfo hooks to be run in Texinfo files, due to ambiguous style name, as this may cause bad side effect for example on variable TeX-font-list.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defvar TeX-style-hook-dialect :latex
  "Dialect for running hooks locally to the considered file.
Supported values are described below:

* `:bibtex'  for files in BibTeX mode.
* `:context' for files in ConTeXt mode.
* `:latex'   for files in LaTeX mode, or any mode derived
             thereof.
* `:plain-tex' for files in plain-TeX mode.
* `:texinfo' for Texinfo files.
* `:classopt' for class options of LaTeX document.  Just
              considered as a pseudo-dialect.

Purpose is notably to prevent non-Texinfo hooks to be run in
Texinfo files, due to ambiguous style name, as this may cause bad
side effect for example on variable `TeX-font-list'.")