emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex 3982971 37/62: Rename LaTeX-dialect to TeX-diale


From: Tassilo Horn
Subject: [elpa] externals/auctex 3982971 37/62: Rename LaTeX-dialect to TeX-dialect.
Date: Sun, 20 Dec 2020 10:40:00 -0500 (EST)

branch: externals/auctex
commit 3982971f7efa2db9275b1470fcd17d1d9f285f6e
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>

    Rename LaTeX-dialect to TeX-dialect.
    
    * tex.el (TeX-dialect): Renamed from LaTeX-dialect and move from latex.el to
    tex.el.
    * doc/auctex.texi: Adapt docs.
    * doc/changes.texi: Mention in changes for AUCTeX 13.
    * style/*.el: Adapt all style files accordingly.
---
 doc/auctex.texi              |  6 +++---
 doc/changes.texi             |  9 +++++++++
 latex.el                     | 12 +++---------
 style/Alegreya.el            |  2 +-
 style/AlegreyaSans.el        |  2 +-
 style/AnonymousPro.el        |  2 +-
 style/CJK.el                 |  2 +-
 style/CJKutf8.el             |  2 +-
 style/FiraMono.el            |  2 +-
 style/FiraSans.el            |  2 +-
 style/MinionPro.el           |  2 +-
 style/MyriadPro.el           |  2 +-
 style/XCharter.el            |  2 +-
 style/acro.el                |  2 +-
 style/acronym.el             |  2 +-
 style/afterpage.el           |  2 +-
 style/algorithm.el           |  2 +-
 style/algpseudocode.el       |  2 +-
 style/alltt.el               |  2 +-
 style/alphanum.el            |  2 +-
 style/amsart.el              |  2 +-
 style/amsbook.el             |  2 +-
 style/amsbsy.el              |  2 +-
 style/amsfonts.el            |  2 +-
 style/amsmath.el             |  2 +-
 style/amsopn.el              |  2 +-
 style/amssymb.el             |  2 +-
 style/amstex.el              |  2 +-
 style/amstext.el             |  2 +-
 style/amsthm.el              |  2 +-
 style/appendix.el            |  2 +-
 style/arabxetex.el           |  2 +-
 style/array.el               |  2 +-
 style/article.el             |  2 +-
 style/attachfile.el          |  2 +-
 style/australian.el          |  2 +-
 style/austrian.el            |  2 +-
 style/babel.el               |  2 +-
 style/baskervaldx.el         |  2 +-
 style/beamer.el              |  2 +-
 style/biblatex.el            |  2 +-
 style/bicaption.el           |  2 +-
 style/bidi.el                |  2 +-
 style/bidibeamer.el          |  2 +-
 style/bigdelim.el            |  2 +-
 style/bigstrut.el            |  2 +-
 style/bm.el                  |  2 +-
 style/book.el                |  2 +-
 style/booktabs.el            |  2 +-
 style/breqn.el               |  2 +-
 style/bulgarian.el           |  2 +-
 style/canadian.el            |  2 +-
 style/captcont.el            |  2 +-
 style/caption.el             |  2 +-
 style/changelog.el           |  2 +-
 style/cleveref.el            |  2 +-
 style/color.el               |  2 +-
 style/colortbl.el            |  2 +-
 style/commath.el             |  2 +-
 style/comment.el             |  2 +-
 style/csquotes.el            |  2 +-
 style/currvita.el            |  2 +-
 style/czech.el               |  2 +-
 style/danish.el              |  2 +-
 style/dashundergaps.el       |  2 +-
 style/dcolumn.el             |  2 +-
 style/dinbrief.el            |  2 +-
 style/dk.el                  |  2 +-
 style/doc.el                 |  2 +-
 style/dutch.el               |  2 +-
 style/emp.el                 |  2 +-
 style/empheq.el              |  2 +-
 style/english.el             |  2 +-
 style/enumitem.el            |  2 +-
 style/environ.el             |  2 +-
 style/epigraph.el            |  2 +-
 style/epsf.el                |  2 +-
 style/erewhon.el             |  2 +-
 style/eso-pic.el             |  2 +-
 style/everysel.el            |  2 +-
 style/exam.el                |  2 +-
 style/exercise.el            |  2 +-
 style/expl3.el               |  2 +-
 style/fancyhdr.el            |  2 +-
 style/fancynum.el            |  2 +-
 style/fancyref.el            |  2 +-
 style/fancyvrb.el            |  2 +-
 style/fbb.el                 |  2 +-
 style/fbox.el                |  2 +-
 style/filecontents.el        |  2 +-
 style/flashcards.el          |  2 +-
 style/floatrow.el            |  2 +-
 style/foils.el               |  2 +-
 style/fontaxes.el            |  2 +-
 style/fontspec.el            |  2 +-
 style/footmisc.el            |  2 +-
 style/framed.el              |  2 +-
 style/francais.el            |  2 +-
 style/french.el              |  2 +-
 style/frenchb.el             |  2 +-
 style/fvextra.el             |  2 +-
 style/geometry.el            |  2 +-
 style/german.el              |  2 +-
 style/gloss-italian.el       |  2 +-
 style/graphics.el            |  2 +-
 style/graphicx.el            |  2 +-
 style/harvard.el             |  2 +-
 style/hologo.el              |  2 +-
 style/hyperref.el            |  2 +-
 style/icelandic.el           |  2 +-
 style/ifluatex.el            |  2 +-
 style/imakeidx.el            |  2 +-
 style/index.el               |  2 +-
 style/inputenc.el            |  2 +-
 style/italian.el             |  2 +-
 style/j-article.el           |  2 +-
 style/j-book.el              |  2 +-
 style/j-report.el            |  2 +-
 style/jarticle.el            |  2 +-
 style/jbook.el               |  2 +-
 style/jreport.el             |  2 +-
 style/jsarticle.el           |  2 +-
 style/jsbook.el              |  2 +-
 style/jsreport.el            |  2 +-
 style/jura.el                |  2 +-
 style/jurabib.el             |  2 +-
 style/kantlipsum.el          |  2 +-
 style/kpfonts.el             |  2 +-
 style/latexinfo.el           |  2 +-
 style/letter.el              |  2 +-
 style/lettrine.el            |  2 +-
 style/lipsum.el              |  2 +-
 style/listings.el            |  2 +-
 style/longtable.el           |  2 +-
 style/lscape.el              |  2 +-
 style/ltablex.el             |  2 +-
 style/ltugboat.el            |  2 +-
 style/ltx-base.el            |  2 +-
 style/ltxdoc.el              |  2 +-
 style/ltxguide.el            |  2 +-
 style/ltxtable.el            |  2 +-
 style/luacode.el             |  2 +-
 style/luatextra.el           |  2 +-
 style/makeidx.el             |  2 +-
 style/marginnote.el          |  2 +-
 style/mathtools.el           |  2 +-
 style/mdframed.el            |  2 +-
 style/mdsymbol.el            |  2 +-
 style/mdwlist.el             |  2 +-
 style/memoir.el              |  2 +-
 style/menukeys.el            |  2 +-
 style/metalogo.el            |  2 +-
 style/mflogo.el              |  2 +-
 style/minted.el              |  2 +-
 style/mn2e.el                |  2 +-
 style/moodle.el              |  2 +-
 style/multicol.el            |  2 +-
 style/multido.el             |  2 +-
 style/multind.el             |  2 +-
 style/multirow.el            |  2 +-
 style/multitoc.el            |  2 +-
 style/nameref.el             |  2 +-
 style/natbib.el              |  2 +-
 style/naustrian.el           |  2 +-
 style/newfloat.el            |  2 +-
 style/newpxmath.el           |  2 +-
 style/newpxtext.el           |  2 +-
 style/newtxmath.el           |  2 +-
 style/newtxsf.el             |  2 +-
 style/newtxtext.el           |  2 +-
 style/newtxttt.el            |  2 +-
 style/newzealand.el          |  2 +-
 style/ngerman.el             |  2 +-
 style/nicefrac.el            |  2 +-
 style/nomencl.el             |  2 +-
 style/ntheorem.el            |  2 +-
 style/ocg-p.el               |  2 +-
 style/ocgx.el                |  2 +-
 style/overpic.el             |  2 +-
 style/paracol.el             |  2 +-
 style/paralist.el            |  2 +-
 style/pdflscape.el           |  2 +-
 style/pdfpages.el            |  2 +-
 style/pdfsync.el             |  2 +-
 style/placeins.el            |  2 +-
 style/plext.el               |  2 +-
 style/plfonts.el             |  2 +-
 style/plhb.el                |  2 +-
 style/polish.el              |  2 +-
 style/polski.el              |  2 +-
 style/polyglossia.el         |  2 +-
 style/preview.el             |  2 +-
 style/prosper.el             |  2 +-
 style/psfig.el               |  2 +-
 style/pst-grad.el            |  2 +-
 style/pst-node.el            |  2 +-
 style/pst-plot.el            |  2 +-
 style/pst-slpe.el            |  2 +-
 style/pstricks.el            |  2 +-
 style/pythontex.el           |  2 +-
 style/ragged2e.el            |  2 +-
 style/relsize.el             |  2 +-
 style/report.el              |  2 +-
 style/revtex4-2.el           |  2 +-
 style/ruby.el                |  2 +-
 style/scrartcl.el            |  2 +-
 style/scrbase.el             |  2 +-
 style/scrbook.el             |  2 +-
 style/scrlttr2.el            |  2 +-
 style/scrpage2.el            |  2 +-
 style/scrreprt.el            |  2 +-
 style/setspace.el            |  2 +-
 style/shortvrb.el            |  2 +-
 style/siunitx.el             |  2 +-
 style/slides.el              |  2 +-
 style/slovak.el              |  2 +-
 style/sourcecodepro.el       |  2 +-
 style/splitidx.el            |  2 +-
 style/subcaption.el          |  2 +-
 style/subfigure.el           |  2 +-
 style/subfiles.el            |  2 +-
 style/swedish.el             |  2 +-
 style/tabularx.el            |  2 +-
 style/tabulary.el            |  2 +-
 style/tarticle.el            |  2 +-
 style/tbook.el               |  2 +-
 style/tcolorbox.el           |  2 +-
 style/tcolorboxlib-raster.el |  2 +-
 style/tex-live.el            |  2 +-
 style/textpos.el             |  2 +-
 style/theorem.el             |  2 +-
 style/thm-restate.el         |  2 +-
 style/thmtools.el            |  2 +-
 style/titleps.el             |  2 +-
 style/titlesec.el            |  2 +-
 style/titletoc.el            |  2 +-
 style/transparent.el         |  2 +-
 style/treport.el             |  2 +-
 style/ulem.el                |  2 +-
 style/unicode-math.el        |  2 +-
 style/units.el               |  2 +-
 style/url.el                 |  2 +-
 style/varioref.el            |  2 +-
 style/verbatim.el            |  2 +-
 style/virtex.el              |  2 +-
 style/vwcol.el               |  2 +-
 style/wrapfig.el             |  2 +-
 style/xcolor.el              |  2 +-
 style/xkcdcolors.el          |  2 +-
 style/xltabular.el           |  2 +-
 style/xparse.el              |  2 +-
 style/xspace.el              |  2 +-
 style/zlmtt.el               |  2 +-
 tex.el                       |  7 +++++++
 254 files changed, 272 insertions(+), 262 deletions(-)

diff --git a/doc/auctex.texi b/doc/auctex.texi
index 1fd92e8..717ee4b 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -5001,7 +5001,7 @@ Here is a simple example of a style file.
  "book"
  (lambda () 
    (LaTeX-largest-level-set "chapter"))
- LaTeX-dialect)
+ TeX-dialect)
 @end lisp
 
 The example is from the @AUCTeX{} sources and is loaded for any @LaTeX{}
@@ -5070,10 +5070,10 @@ relatively to the set of all supported dialects
 
 In case of adding a style hook for @LaTeX{}, when calling function
 @code{TeX-add-style-hook} it is thought more futureproof for argument
-@var{dialect-expr} to pass constant @code{LaTeX-dialect} currently
+@var{dialect-expr} to pass constant @code{TeX-dialect} currently
 defined to @code{:latex}, rather than passing @code{:latex} directly.
 
-@defvr Constant LaTeX-dialect
+@defvr Constant TeX-dialect
 Default dialect for use with function @code{TeX-add-style-hook} for
 argument @var{dialect-expr} when the hook is to be run only on LaTeX
 file, or any mode derived thereof.
diff --git a/doc/changes.texi b/doc/changes.texi
index febe9ce..41f0b1e 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -8,6 +8,15 @@
 
 @end ifset
 
+@heading News in 13.0
+
+@itemize @bullet
+@item
+The constant @code{LaTeX-dialect} has been renamed to @code{TeX-dialect}
+and moved from @file{latex.el} to @file{tex.el}.  @code{LaTeX-dialect}
+now is an obsolete alias.
+@end itemize
+
 @heading News in 12.3
 
 @itemize @bullet
diff --git a/latex.el b/latex.el
index 0b6117f..32e51c3 100644
--- a/latex.el
+++ b/latex.el
@@ -6170,12 +6170,6 @@ function would return non-nil and `(match-string 1)' 
would return
   (and (texmathp)
        (TeX-looking-at-backward "\\\\\\([a-zA-Z]*\\)")))
 
-(defconst LaTeX-dialect :latex
-  "Default dialect for use with function `TeX-add-style-hook' for
-argument DIALECT-EXPR when the hook is to be run only on LaTeX
-file, or any mode derived thereof. See variable
-`TeX-style-hook-dialect'." )
-
 (defun LaTeX-common-initialization ()
   "Common initialization for LaTeX derived modes."
   (VirTeX-common-initialization)
@@ -6194,7 +6188,7 @@ file, or any mode derived thereof. See variable
 
   (setq TeX-header-end LaTeX-header-end
        TeX-trailer-start LaTeX-trailer-start)
-  (set (make-local-variable 'TeX-style-hook-dialect) LaTeX-dialect)
+  (set (make-local-variable 'TeX-style-hook-dialect) TeX-dialect)
 
   (require 'outline)
   (set (make-local-variable 'outline-level) 'LaTeX-outline-level)
@@ -6728,7 +6722,7 @@ file, or any mode derived thereof. See variable
                        (setq TeX-font-list LaTeX-font-list)
                        (setq TeX-font-replace-function 'TeX-font-replace-macro)
                        (run-hooks 'LaTeX2e-hook))
-                     LaTeX-dialect)
+                     TeX-dialect)
 
   (TeX-add-style-hook "latex2"
                      ;; Use old fonts for `\documentstyle' documents.
@@ -6737,7 +6731,7 @@ file, or any mode derived thereof. See variable
                        (setq TeX-font-replace-function
                              (default-value 'TeX-font-replace-function))
                        (run-hooks 'LaTeX2-hook))
-                     LaTeX-dialect)
+                     TeX-dialect)
 
   ;; There must be something better-suited, but I don't understand the
   ;; parsing properly.  -- dak
diff --git a/style/Alegreya.el b/style/Alegreya.el
index 3636221..1b23b1b 100644
--- a/style/Alegreya.el
+++ b/style/Alegreya.el
@@ -79,7 +79,7 @@
                                ("sufigures"     "")
                                ("infigures"     ""))
                              'type-declaration)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-Alegreya-package-options-list
   '(("lining"       ("true" "false"))
diff --git a/style/AlegreyaSans.el b/style/AlegreyaSans.el
index b9773e3..fef84af 100644
--- a/style/AlegreyaSans.el
+++ b/style/AlegreyaSans.el
@@ -86,7 +86,7 @@
                                ("sufigures"              "")
                                ("infigures"              ""))
                              'type-declaration)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-AlegreyaSans-package-options-list
   '(("lining"       ("true" "false"))
diff --git a/style/AnonymousPro.el b/style/AnonymousPro.el
index 6f66178..b9eed37 100644
--- a/style/AnonymousPro.el
+++ b/style/AnonymousPro.el
@@ -81,7 +81,7 @@
     "ANPDelta"
     "ANPverticaltab"
     "ANPNumeroSign"))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-AnonymousPro-package-options
   '("ttdefault" "scale" "scaled")
diff --git a/style/CJK.el b/style/CJK.el
index bef741f..bbadfa0 100644
--- a/style/CJK.el
+++ b/style/CJK.el
@@ -89,6 +89,6 @@ The function can be used for CJK and CJK* environments."
    (LaTeX-add-environments
     '("CJK" LaTeX-env-CJK)
     '("CJK*" LaTeX-env-CJK)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; CJK.el ends here
diff --git a/style/CJKutf8.el b/style/CJKutf8.el
index a952571..5eb8fb2 100644
--- a/style/CJKutf8.el
+++ b/style/CJKutf8.el
@@ -34,6 +34,6 @@
  "CJKutf8"
  (lambda ()
    (TeX-run-style-hooks "CJK"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; CJKutf8.el ends here
diff --git a/style/FiraMono.el b/style/FiraMono.el
index e01541f..8a9f6b5 100644
--- a/style/FiraMono.el
+++ b/style/FiraMono.el
@@ -62,7 +62,7 @@
                                ("firamonolining"   "")
                                ("firamonomedium"   ""))
                              'type-declaration)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-FiraMono-package-options '("scaled" "scale"
                                         "type1"
diff --git a/style/FiraSans.el b/style/FiraSans.el
index 076612c..4b2e70b 100644
--- a/style/FiraSans.el
+++ b/style/FiraSans.el
@@ -82,7 +82,7 @@
                                ("firaextrabold"    "")
                                ("firaheavy"        ""))
                              'type-declaration)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-FiraSans-package-options
   '("scaled" "scale"
diff --git a/style/MinionPro.el b/style/MinionPro.el
index 4d854a6..4bd310e 100644
--- a/style/MinionPro.el
+++ b/style/MinionPro.el
@@ -55,7 +55,7 @@
      (font-latex-add-keywords '(("smallfrac" "{{")
                                ("slantfrac" "{{"))
                              'textual)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-MinionPro-package-options
   '("smallfamily" "medfamily" "fullfamily" "noopticals" "opticals"
diff --git a/style/MyriadPro.el b/style/MyriadPro.el
index 914ff7c..2957d19 100644
--- a/style/MyriadPro.el
+++ b/style/MyriadPro.el
@@ -71,7 +71,7 @@
                              'textual)
      (font-latex-add-keywords '(("mathversion" "{"))
                              'variable)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-MyriadPro-package-options
   '(;; Font selection
diff --git a/style/XCharter.el b/style/XCharter.el
index 9a5054a..b0f1573 100644
--- a/style/XCharter.el
+++ b/style/XCharter.el
@@ -85,7 +85,7 @@
                                 ("lfstyle"   "")
                                 ("osfstyle"  ""))
                               'type-declaration)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-XCharter-package-options
   '("lining" "lf" "oldstyle" "osf" "oldstyleI" "osfI"
diff --git a/style/acro.el b/style/acro.el
index a691d6e..a39221a 100644
--- a/style/acro.el
+++ b/style/acro.el
@@ -291,7 +291,7 @@ be a list with strings to be used as values for the key."
                                ("Iacflike" "*{")
                                ("acuse" "{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-acro-package-options ()
   "Prompt for package options for the acro package."
diff --git a/style/acronym.el b/style/acronym.el
index 04aa48b..d86debe 100644
--- a/style/acronym.el
+++ b/style/acronym.el
@@ -176,7 +176,7 @@ string."
                                ("acrodefplural" "{[{")
                                ("newacroplural" "{[{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-acronym-package-options
   '("footnote" "nohyperlinks" "printonlyused" "withpage" "smaller" "dua" 
"nolist")
diff --git a/style/afterpage.el b/style/afterpage.el
index 3e45aa0..1601885 100644
--- a/style/afterpage.el
+++ b/style/afterpage.el
@@ -38,7 +38,7 @@
  (lambda ()
    (TeX-add-symbols
     '("afterpage" t)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-afterpage-package-options nil
   "Package options for afterpage.")
diff --git a/style/algorithm.el b/style/algorithm.el
index bf5c330..10e8530 100644
--- a/style/algorithm.el
+++ b/style/algorithm.el
@@ -77,7 +77,7 @@
     '("algorithm"  LaTeX-env-algorithm ))
    (TeX-add-symbols
     '("listofalgorithms" 0))
-      LaTeX-dialect))
+      TeX-dialect))
 
 
 ;;; algorithm.el ends here
diff --git a/style/algpseudocode.el b/style/algpseudocode.el
index ce55e82..b0c455f 100644
--- a/style/algpseudocode.el
+++ b/style/algpseudocode.el
@@ -71,6 +71,6 @@
     '("Call" 0))
    (LaTeX-add-environments
     '("algorithmic" [ "Number" ]))
-   LaTeX-dialect))
+   TeX-dialect))
 
 ;;; algpseudocode.el ends here
diff --git a/style/alltt.el b/style/alltt.el
index 6cf8af9..2b9af53 100644
--- a/style/alltt.el
+++ b/style/alltt.el
@@ -49,7 +49,7 @@
              (eq TeX-install-font-lock 'font-latex-setup))
      ;; Tell font-lock about the update.
      (font-latex-set-syntactic-keywords)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-alltt-package-options nil
   "Package options for the alltt package.")
diff --git a/style/alphanum.el b/style/alphanum.el
index 30ddbdb..b198128 100644
--- a/style/alphanum.el
+++ b/style/alphanum.el
@@ -98,7 +98,7 @@
        (reftex-add-section-levels
        '(("toc" .  reftex-get-section-level-alphanum)
          ("sub" .  reftex-get-section-level-alphanum)))))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;; Local Variables:
 ;; coding: utf-8
diff --git a/style/amsart.el b/style/amsart.el
index 8d9293c..7f93f1a 100644
--- a/style/amsart.el
+++ b/style/amsart.el
@@ -11,6 +11,6 @@
   (lambda ()
     (TeX-run-style-hooks "amsmath" "amsthm")
     (LaTeX-add-environments "abstract")))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; amsart.el ends here.
diff --git a/style/amsbook.el b/style/amsbook.el
index c8b3714..c645767 100644
--- a/style/amsbook.el
+++ b/style/amsbook.el
@@ -10,6 +10,6 @@
  (lambda ()
    (TeX-run-style-hooks "amsmath" "amsthm")
    (LaTeX-add-environments "abstract"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; amsbook.el ends here.
diff --git a/style/amsbsy.el b/style/amsbsy.el
index e5855fb..dce3825 100644
--- a/style/amsbsy.el
+++ b/style/amsbsy.el
@@ -13,7 +13,7 @@
    (TeX-add-symbols
     '("boldsymbol" "Symbol")
     '("pmb"        "Symbol")))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-amsbsy-package-options nil
   "Package options for the amsbsy package.")
diff --git a/style/amsfonts.el b/style/amsfonts.el
index 012a20c..eb4c2e5 100644
--- a/style/amsfonts.el
+++ b/style/amsfonts.el
@@ -52,7 +52,7 @@
              (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("bold" "{"))
                              'bold-command)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;; The `psamsfonts' option is obsolete in AMSFonts v3
 (defvar LaTeX-amsfonts-package-options nil
diff --git a/style/amsmath.el b/style/amsmath.el
index 261c309..4cde128 100644
--- a/style/amsmath.el
+++ b/style/amsmath.el
@@ -187,7 +187,7 @@
              (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("boxed" "{"))
                              'math-command)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-amsmath-env-alignat (env)
   "Insert ENV with column number specifications.
diff --git a/style/amsopn.el b/style/amsopn.el
index 77f9f53..fd2c5fc 100644
--- a/style/amsopn.el
+++ b/style/amsopn.el
@@ -47,7 +47,7 @@
    (add-to-list 'LaTeX-auto-regexp-list
                '("\\\\DeclareMathOperator\\*?{?\\\\\\([A-Za-z0-9]+\\)}?"
                  1 TeX-auto-symbol)))
- LaTeX-dialect
+ TeX-dialect
  )
 
 (defvar LaTeX-amsopn-package-options '("namelimits" "nonamelimits")
diff --git a/style/amssymb.el b/style/amssymb.el
index 688f8a1..5fdb82c 100644
--- a/style/amssymb.el
+++ b/style/amssymb.el
@@ -245,7 +245,7 @@
     "Bbbk"
     "hslash"
     "backepsilon"))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-amssymb-package-options '("psamsfonts")
   "Package options for the amssymb package.")
diff --git a/style/amstex.el b/style/amstex.el
index e3ec048..c9c1b9b 100644
--- a/style/amstex.el
+++ b/style/amstex.el
@@ -48,7 +48,7 @@
  (lambda ()
    (unless (memq major-mode '(plain-tex-mode ams-tex-mode))
      (TeX-run-style-hooks "amsmath")))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-amstex-package-options '("noamsfonts" "psamsfonts" 
                                       "intlimits" "nointlimits"
diff --git a/style/amstext.el b/style/amstext.el
index d6e3884..96f1dd1 100644
--- a/style/amstext.el
+++ b/style/amstext.el
@@ -12,7 +12,7 @@
  (lambda ()
    (TeX-add-symbols
     '("text" t)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-amstext-package-options nil
   "Package options for the amstext package.")
diff --git a/style/amsthm.el b/style/amsthm.el
index 529ec4c..45bc041 100644
--- a/style/amsthm.el
+++ b/style/amsthm.el
@@ -199,6 +199,6 @@ make them available as new environments."
                                ("theoremstyle"    "{")
                                ("newtheoremstyle" "{{{{{{{{{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; amsthm.el ends here
diff --git a/style/appendix.el b/style/appendix.el
index 97cc6f6..0e6125e 100644
--- a/style/appendix.el
+++ b/style/appendix.el
@@ -67,7 +67,7 @@
    (unless (string-match "appendices" LaTeX-document-regexp)
      (set (make-local-variable 'LaTeX-document-regexp)
          (concat LaTeX-document-regexp "\\|\\(?:sub\\)?appendices"))))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-appendix-package-options '("toc" "page" "title"
                                         "titletoc" "header")
diff --git a/style/arabxetex.el b/style/arabxetex.el
index d675de2..d9ed09b 100644
--- a/style/arabxetex.el
+++ b/style/arabxetex.el
@@ -114,7 +114,7 @@
      (font-latex-add-keywords '(("SetTranslitConvention" "{")
                                ("SetTranslitStyle"      "{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-arabxetex-package-options
   '("novoc" "voc" "fullvoc" "trans" "utf")
diff --git a/style/array.el b/style/array.el
index 0917686..d911ab9 100644
--- a/style/array.el
+++ b/style/array.el
@@ -102,7 +102,7 @@ and make it buffer local. "
              (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("newcolumntype" "{[{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-array-package-options nil
   "Package options for array.")
diff --git a/style/article.el b/style/article.el
index 4d80850..352f45d 100644
--- a/style/article.el
+++ b/style/article.el
@@ -16,6 +16,6 @@
                       "subparagraph" "figure" "table")
    (LaTeX-add-pagestyles "headings" "myheadings")
    (LaTeX-add-environments "abstract"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; article.el ends here
diff --git a/style/attachfile.el b/style/attachfile.el
index b54f857..0630da6 100644
--- a/style/attachfile.el
+++ b/style/attachfile.el
@@ -117,7 +117,7 @@
                                ("textattachfile"   "[{{")
                                ("notextattachfile" "[{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-attachfile-package-options nil
   "Prompt for package options for the attachfile package.")
diff --git a/style/australian.el b/style/australian.el
index e463744..8c76082 100644
--- a/style/australian.el
+++ b/style/australian.el
@@ -35,6 +35,6 @@
  "australian"
  (lambda ()
    (TeX-run-style-hooks "english"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; australian.el ends here
diff --git a/style/austrian.el b/style/austrian.el
index 4631267..91af645 100644
--- a/style/austrian.el
+++ b/style/austrian.el
@@ -35,6 +35,6 @@
  "austrian"
  (lambda ()
    (TeX-run-style-hooks "german"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; austrian.el ends here
diff --git a/style/babel.el b/style/babel.el
index 6468060..7116503 100644
--- a/style/babel.el
+++ b/style/babel.el
@@ -394,7 +394,7 @@
                                ("aliasshorthand"     "{{")
                                ("languageattribute"  "{{"))
                              'variable)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-babel-package-options ()
   "Prompt for package options for the babel package."
diff --git a/style/baskervaldx.el b/style/baskervaldx.el
index 9af7575..996d3e4 100644
--- a/style/baskervaldx.el
+++ b/style/baskervaldx.el
@@ -79,7 +79,7 @@
                              'type-declaration)
      (font-latex-add-keywords '(("swshape"   ""))
                              'bold-declaration)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-baskervaldx-package-options
   '("lining" "lf" "oldstyle" "osf" "tabular" "proportional" "p"
diff --git a/style/beamer.el b/style/beamer.el
index 5221c4f..9be234b 100644
--- a/style/beamer.el
+++ b/style/beamer.el
@@ -186,7 +186,7 @@
                                ("author" "[{")
                                ("date" "[{")
                                ("frametitle" "<[{")) 'slide-title)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun TeX-arg-beamer-overlay-spec (optional &optional prompt)
   "Prompt for overlay specification.
diff --git a/style/biblatex.el b/style/biblatex.el
index ce87783..e1530ac 100644
--- a/style/biblatex.el
+++ b/style/biblatex.el
@@ -591,7 +591,7 @@ for citation keys."
            (?y    . "\\citeyear{%l}")
            (?Y    . "\\citeyear*{%l}")
            (?n    . "\\nocite{%l}")))))))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-biblatex-package-options-list
   (append
diff --git a/style/bicaption.el b/style/bicaption.el
index 7892b10..0918b56 100644
--- a/style/bicaption.el
+++ b/style/bicaption.el
@@ -185,7 +185,7 @@ square brackets."
                                ("bisubcaption"    "*[{[{")
                                ("bisubcaptionbox" "*[{[{[["))
                              'textual)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-bicaption-package-options ()
   "Prompt for package options for the bicaption package."
diff --git a/style/bidi.el b/style/bidi.el
index d1e080d..287bbfd 100644
--- a/style/bidi.el
+++ b/style/bidi.el
@@ -195,6 +195,6 @@
                                ("XeLaTeX" "")
                                ("SepMark" "{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; bidi.el ends here
diff --git a/style/bidibeamer.el b/style/bidibeamer.el
index dd8a6f0..0eba90b 100644
--- a/style/bidibeamer.el
+++ b/style/bidibeamer.el
@@ -35,6 +35,6 @@
  "bidibeamer"
  (lambda ()
    (TeX-run-style-hooks "beamer"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; bidibeamer.el ends here
diff --git a/style/bigdelim.el b/style/bigdelim.el
index 8476885..ae1bfc1 100644
--- a/style/bigdelim.el
+++ b/style/bigdelim.el
@@ -38,7 +38,7 @@
       "Width in multirow" [ "Text in multirow" ])
     '("rdelim" TeX-arg-bigdelim-brace "Number of rows for multirow"
       "Width in multirow" [ "Text in multirow" ])))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun TeX-arg-bigdelim-brace (optional &optional prompt)
   "Prompt for a single brace, and do not insert the matching
diff --git a/style/bigstrut.el b/style/bigstrut.el
index a4ee3be..4ad0927 100644
--- a/style/bigstrut.el
+++ b/style/bigstrut.el
@@ -35,7 +35,7 @@
    (TeX-add-symbols
     "bigstrutsetup"
     '("bigstrut" [ TeX-arg-bigstrut ])))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun TeX-arg-bigstrut (optional &optional _prompt)
   "Prompt for the optional argument in \\bigstrut."
diff --git a/style/bm.el b/style/bm.el
index c348d54..1971820 100644
--- a/style/bm.el
+++ b/style/bm.el
@@ -52,7 +52,7 @@
                                ("bmdefine" "|{\\{")
                                ("hmdefine" "|{\\{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-bm-package-options nil
   "Package options for the bm package.")
diff --git a/style/book.el b/style/book.el
index b75bd27..766a782 100644
--- a/style/book.el
+++ b/style/book.el
@@ -16,6 +16,6 @@
    (LaTeX-add-counters "part" "chapter" "section" "subsection" "subsubsection"
                       "paragraph" "subparagraph" "figure" "table")
    (LaTeX-add-pagestyles "headings" "myheadings"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; book.el ends here
diff --git a/style/booktabs.el b/style/booktabs.el
index c4fcc55..255a851 100644
--- a/style/booktabs.el
+++ b/style/booktabs.el
@@ -76,7 +76,7 @@ PROMPT is the value of the prompt to be shown."
                                ("morecmidrules" "")
                                ("specialrule" "{{{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-booktabs-package-options nil
   "Package options for the booktabs package.")
diff --git a/style/breqn.el b/style/breqn.el
index 64857b9..b5d4138 100644
--- a/style/breqn.el
+++ b/style/breqn.el
@@ -133,7 +133,7 @@ Keys offered for key=val query depend on ENV.  \"label\" and
     '("condition"  [ "Punctuation mark (default ,)" ] t)
     '("condition*" [ "Punctuation mark (default ,)" ] t)
     '("hiderel" t)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-breqn-package-options nil
   "Package options for the breqn package.")
diff --git a/style/bulgarian.el b/style/bulgarian.el
index e4f97d7..67a3620 100644
--- a/style/bulgarian.el
+++ b/style/bulgarian.el
@@ -55,6 +55,6 @@
      (font-latex-add-quotes '("\"`" "\"'"))
      (font-latex-add-quotes '("\"<" "\">" french)))
    (run-hooks 'TeX-language-bg-hook))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; bulgarian.el ends here
diff --git a/style/canadian.el b/style/canadian.el
index fa5a96f..24e8b4a 100644
--- a/style/canadian.el
+++ b/style/canadian.el
@@ -35,6 +35,6 @@
  "canadian"
  (lambda ()
    (TeX-run-style-hooks "english"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; canadian.el ends here
diff --git a/style/captcont.el b/style/captcont.el
index ae528f4..2e6c2e1 100644
--- a/style/captcont.el
+++ b/style/captcont.el
@@ -43,7 +43,7 @@
    ;; Fontification
    (when (featurep 'font-latex)
      (font-latex-add-keywords '(("captcont" "*[{")) 'textual)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-captcont-package-options '("figbotcap" "figtopcap" "tabbotcap"
                                         "tabtopcap")
diff --git a/style/caption.el b/style/caption.el
index 779d76b..19c225d 100644
--- a/style/caption.el
+++ b/style/caption.el
@@ -467,7 +467,7 @@ STAR is non-nil, do not query for a short-caption and a 
label."
                                ("DeclareCaptionStyle"           "{[{")
                                ("DeclareCaptionTextFormat"      "{{"))
                              'function)) )
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-caption-package-options ()
   "Prompt for package options for the caption package."
diff --git a/style/changelog.el b/style/changelog.el
index ca5e8c2..38e87c9 100644
--- a/style/changelog.el
+++ b/style/changelog.el
@@ -152,7 +152,7 @@ The keys sectioncmd and label are added in the function
                                ("security"     "")
                                ("shortversion" "{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-changelog-package-options nil
   "Package options for the changelog package.")
diff --git a/style/cleveref.el b/style/cleveref.el
index 2e29fce..c11c582 100644
--- a/style/cleveref.el
+++ b/style/cleveref.el
@@ -193,7 +193,7 @@ Use PROMPT as the prompt string."
    (and LaTeX-reftex-ref-style-auto-activate
        (fboundp 'reftex-ref-style-activate)
        (reftex-ref-style-activate "Cleveref")))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-cleveref-package-options
   '("capitalise" "nameinlink" "noabbrev" "poorman")
diff --git a/style/color.el b/style/color.el
index 47d561e..501698e 100644
--- a/style/color.el
+++ b/style/color.el
@@ -300,7 +300,7 @@
                                'type-command)
        (font-latex-add-keywords '(("definecolor"    "{{{"))
                                'function))))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-color-package-options
   '("debugshow" "dvipdf" "dvipdfm" "dvipdfmx" "dvips" "dvipsnames"
diff --git a/style/colortbl.el b/style/colortbl.el
index 80843e9..7574f25 100644
--- a/style/colortbl.el
+++ b/style/colortbl.el
@@ -86,7 +86,7 @@
                                ("arrayrulecolor"     "[{")
                                ("doublerulesepcolor" "[{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;; colortbl.sty has one option `debugshow'.  I ignore that since it
 ;; would only take more time during insertation in a buffer and I
diff --git a/style/commath.el b/style/commath.el
index 2b61e77..d2a866c 100644
--- a/style/commath.el
+++ b/style/commath.el
@@ -99,7 +99,7 @@
                                ("appref"  "{")
                                ("assref"  "{"))
                              'reference)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-commath-package-options nil
   "Package options for the commath package.")
diff --git a/style/comment.el b/style/comment.el
index af00550..b36dc71 100644
--- a/style/comment.el
+++ b/style/comment.el
@@ -73,6 +73,6 @@
                              'variable)
      ;; Tell font-lock about the update.
      (font-latex-set-syntactic-keywords)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; comment.el ends here
diff --git a/style/csquotes.el b/style/csquotes.el
index 1674945..8a57b21 100644
--- a/style/csquotes.el
+++ b/style/csquotes.el
@@ -314,7 +314,7 @@ PROMPT replaces the standard one \"Language\"."
                                  ("SetBlockEnvironment"   "{")
                                  ("SetCiteCommand"        "{"))
                                'variable))))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-csquotes-package-options ()
   "Prompt for package options for the csquotes package."
diff --git a/style/currvita.el b/style/currvita.el
index a92fa1f..f2de203 100644
--- a/style/currvita.el
+++ b/style/currvita.el
@@ -85,7 +85,7 @@
 
    ;; Add new lengths defined by currvita.sty
    (LaTeX-add-lengths "cvlabelwidth" "cvlabelskip" "cvlabelsep"))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-currvita-package-options
   '("LabelsAligned" "TextAligned" "openbib" "ManyBibs" "NoDate")
diff --git a/style/czech.el b/style/czech.el
index 80c1e72..c9521f5 100644
--- a/style/czech.el
+++ b/style/czech.el
@@ -6,4 +6,4 @@
    (unless (eq (car TeX-quote-language) 'override)
      (setq TeX-quote-language `("czech" "\\uv{" "}" ,TeX-quote-after-quote)))
    (run-hooks 'TeX-language-cz-hook))
- LaTeX-dialect)
+ TeX-dialect)
diff --git a/style/danish.el b/style/danish.el
index 9cb4763..e9481b3 100644
--- a/style/danish.el
+++ b/style/danish.el
@@ -18,6 +18,6 @@
      (font-latex-add-quotes '("\"`" "\"'"))
      (font-latex-add-quotes '("\">" "\"<" german)))
    (run-hooks 'TeX-language-dk-hook))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; danish.el ends here
diff --git a/style/dashundergaps.el b/style/dashundergaps.el
index f21a2f3..5eed869 100644
--- a/style/dashundergaps.el
+++ b/style/dashundergaps.el
@@ -95,7 +95,7 @@
                                ("TeacherModeOn"      "")
                                ("TeacherModeOff"     ""))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-dashundergaps-package-options nil
   "Package options for the dashundergaps package.")
diff --git a/style/dcolumn.el b/style/dcolumn.el
index 63645d2..6f8e451 100644
--- a/style/dcolumn.el
+++ b/style/dcolumn.el
@@ -41,7 +41,7 @@
 
    ;; Also run style hook for `array':
    (TeX-run-style-hooks "array"))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-dcolumn-package-options nil
   "Package options for the dcolumn package.")
diff --git a/style/dinbrief.el b/style/dinbrief.el
index 1d6d1a1..f7f463c 100644
--- a/style/dinbrief.el
+++ b/style/dinbrief.el
@@ -63,7 +63,7 @@
     '("signature" "Unterschrift")
     '("opening" "Anrede")
     '("closing" "Schluss")))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defmacro LaTeX-dinbrief-insert (&rest args)
   "Insert text ignoring active markers."
diff --git a/style/dk.el b/style/dk.el
index 3c4aa4a..4cea271 100644
--- a/style/dk.el
+++ b/style/dk.el
@@ -5,6 +5,6 @@
 (TeX-add-style-hook "dk"
  (function (lambda ()
             (run-hooks 'TeX-language-dk-hook)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; dk.el ends here
diff --git a/style/doc.el b/style/doc.el
index 5c2b2e8..e0b8b24 100644
--- a/style/doc.el
+++ b/style/doc.el
@@ -186,7 +186,7 @@
     "fileinfo")
    (TeX-run-style-hooks "shortvrb")
    (LaTeX-add-lengths "MacrocodeTopsep" "MacroTopsep" "MacroIndent"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;; Local Variables:
 ;; coding: utf-8
diff --git a/style/dutch.el b/style/dutch.el
index 803ce26..c8133cc 100644
--- a/style/dutch.el
+++ b/style/dutch.el
@@ -5,6 +5,6 @@
 (TeX-add-style-hook "dutch"
  (function (lambda ()
             (run-hooks 'TeX-language-nl-hook)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; dutch.el ends here
diff --git a/style/emp.el b/style/emp.el
index 30a665e..bac03ba 100644
--- a/style/emp.el
+++ b/style/emp.el
@@ -36,7 +36,7 @@
     '("empdef" LaTeX-env-emp-gen)
     '("empgraph" LaTeX-env-emp-gen)
     '("empcmds")))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-env-emp-gen (environment-name)
    "Ask for file, width and length. Insert environment-name environment
diff --git a/style/empheq.el b/style/empheq.el
index dd1bce2..cf70ada 100644
--- a/style/empheq.el
+++ b/style/empheq.el
@@ -489,6 +489,6 @@ number of ampersands if possible."
                                ("DeclareLeftDelimiter"  "[{")
                                ("DeclareRightDelimiter" "[{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; empheq.el ends here
diff --git a/style/english.el b/style/english.el
index e026003..f86536b 100644
--- a/style/english.el
+++ b/style/english.el
@@ -8,6 +8,6 @@
    (unless (eq (car TeX-quote-language) 'override)
      (setq TeX-quote-language nil))
    (run-hooks 'TeX-language-en-hook))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; english.el ends here
diff --git a/style/enumitem.el b/style/enumitem.el
index 3b80572..7308a9a 100644
--- a/style/enumitem.el
+++ b/style/enumitem.el
@@ -497,7 +497,7 @@ in `enumitem'-completions."
                                ("setlistdepth"           "{" )
                                ("SetEnumerateShortLabel" "{{"))
                              'variable)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-enumitem-package-options
   '("inline" "shortlabels" "loadonly" "sizes"
diff --git a/style/environ.el b/style/environ.el
index f4949a8..be716bd 100644
--- a/style/environ.el
+++ b/style/environ.el
@@ -132,7 +132,7 @@ from `environ.sty'.")
                                ("RenewEnviron"    "{[[{[")
                                ("environbodyname" "|{\\"))
                              'function)))
-  LaTeX-dialect)
+  TeX-dialect)
 
 (defvar LaTeX-environ-package-options nil
   "Package options for the environ package.")
diff --git a/style/epigraph.el b/style/epigraph.el
index de8f447..2382272 100644
--- a/style/epigraph.el
+++ b/style/epigraph.el
@@ -90,7 +90,7 @@
                              'variable)
      (font-latex-add-keywords '("cleartoevenpage")
                              'warning)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-epigraph-package-options nil
   "Package options for the epigraph package.")
diff --git a/style/epsf.el b/style/epsf.el
index 22b9c24..44024f0 100644
--- a/style/epsf.el
+++ b/style/epsf.el
@@ -17,7 +17,7 @@
     "epsfnormal" "epsfgetbb" "other" "epsfsetgraph"
     "PsFragSpecialArgs" "epsfaux" "testit" "epsfgrab"
     "epsfllx" "epsflly" "epsfury" "epsfverbosetrue"))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun TeX-arg-epsfsize (_optional &optional _prompt _definition)
   "Create a line that print epsf figures at a certain percentage"
diff --git a/style/erewhon.el b/style/erewhon.el
index 3992441..c45e24b 100644
--- a/style/erewhon.el
+++ b/style/erewhon.el
@@ -86,7 +86,7 @@
                              'type-declaration)
      (font-latex-add-keywords '(("textfrac"  "{{"))
                              'textual)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-erewhon-package-options
   '("lining" "lf" "oldstyle" "osf" "tabular" "p" "proportional"
diff --git a/style/eso-pic.el b/style/eso-pic.el
index 4ae898a..82f47eb 100644
--- a/style/eso-pic.el
+++ b/style/eso-pic.el
@@ -70,7 +70,7 @@
    (TeX-declare-expert-macros
     "eso-pic"
     "gridSetup" "LenToUnit"))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-eso-pic-package-options-list
   '(("pscoord"      ("true" "false"))
diff --git a/style/everysel.el b/style/everysel.el
index d931425..b2ecd8f 100644
--- a/style/everysel.el
+++ b/style/everysel.el
@@ -37,7 +37,7 @@
     '("EverySelectfont" 1)
     ;; adds a hook to be called after the next \\selectfont
     '("AtNextSelectfont" 1)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-everysel-package-options nil
   "Package options for the everysel package.")
diff --git a/style/exam.el b/style/exam.el
index 0cfb512..97fd108 100644
--- a/style/exam.el
+++ b/style/exam.el
@@ -396,6 +396,6 @@ Arguments NAME and TYPE are the same as for the function
                                 ("subpart"         "[")
                                 ("subsubpart"      "["))
                               'textual)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; exam.el ends here
diff --git a/style/exercise.el b/style/exercise.el
index 480d063..c4ad209 100644
--- a/style/exercise.el
+++ b/style/exercise.el
@@ -55,7 +55,7 @@
     '("listofexercises")
     '("ListOfExerciseInToc")
     '("ExerciseLevelInToc")))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-exercise-package-options '("noexercise" "noanswer" 
"exerciseonly" "answeronly" "nothing" "answerdelayed" "exercisedelayed" 
"lastexercise")
   "Package options for the exercise package.")
diff --git a/style/expl3.el b/style/expl3.el
index 5ddf196..81c634c 100644
--- a/style/expl3.el
+++ b/style/expl3.el
@@ -47,7 +47,7 @@
      ;; Fontify _ and : as part of macros.
      (add-to-list 'font-latex-match-simple-include-list "_" t)
      (add-to-list 'font-latex-match-simple-include-list ":" t)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-expl3-package-options ()
   "Read the expl3 package options from the user."
diff --git a/style/fancyhdr.el b/style/fancyhdr.el
index 29523a7..646e8a2 100644
--- a/style/fancyhdr.el
+++ b/style/fancyhdr.el
@@ -85,7 +85,7 @@
                                 ("footrulewidth" "")
                                 ("plainheadrulewidth" "")
                                 ("plainfootrulewidth" "")) 'variable)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;; Because there can be many positions, `TeX-completing-read-multiple' is used
 ;; instead of just `completing-read', and a `collection' argument is provided 
as
diff --git a/style/fancynum.el b/style/fancynum.el
index 253a07f..d6d1ddf 100644
--- a/style/fancynum.el
+++ b/style/fancynum.el
@@ -37,7 +37,7 @@
     '("setfnumdsym" t)
     '("setfnummsym" t)
     '("setfnumgsym" t)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-fancynum-package-options
   '("english" "french" "tight" "loose" "commas" "thinspaces" "plain")
diff --git a/style/fancyref.el b/style/fancyref.el
index 9cddc65..89c0814 100644
--- a/style/fancyref.el
+++ b/style/fancyref.el
@@ -103,7 +103,7 @@
      (and LaTeX-reftex-ref-style-auto-activate
          (fboundp 'reftex-ref-style-activate)
          (reftex-ref-style-activate "Fancyref")))
-   LaTeX-dialect)
+   TeX-dialect)
 
 ;; The following list keeps a list of available format names
 ;; Note that this list is only updated when a format is used, not
diff --git a/style/fancyvrb.el b/style/fancyvrb.el
index adc3b7d..69fe18b 100644
--- a/style/fancyvrb.el
+++ b/style/fancyvrb.el
@@ -724,7 +724,7 @@ ENV is the name of current environment as a string."
                                ("BUseVerbatim" "{"))
                              'textual)
      (font-latex-set-syntactic-keywords)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-fancyvrb-package-options nil
   "Package options for the fancyvrb package.")
diff --git a/style/fbb.el b/style/fbb.el
index 2a2fc63..f05c777 100644
--- a/style/fbb.el
+++ b/style/fbb.el
@@ -76,7 +76,7 @@
                                ("tosfstyle" "")
                                ("sufigures" ""))
                              'type-declaration)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-fbb-package-options
   '("lining" "osf" "oldstyle" "tabular" "p" "proportional"
diff --git a/style/fbox.el b/style/fbox.el
index 313e823..f79e2c0 100644
--- a/style/fbox.el
+++ b/style/fbox.el
@@ -49,6 +49,6 @@
      (font-latex-add-keywords '(("fbox"    "*[{")
                                ("fparbox" "*[{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; fbox.el ends here
diff --git a/style/filecontents.el b/style/filecontents.el
index e2ad513..33ed0fa 100644
--- a/style/filecontents.el
+++ b/style/filecontents.el
@@ -45,7 +45,7 @@
                '("filecontents" current-indentation) t)
    (add-to-list 'LaTeX-indent-environment-list
                '("filecontents*" current-indentation) t))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-env-filecontents (environment)
   "Insert ENVIRONMENT with filename for contents."
diff --git a/style/flashcards.el b/style/flashcards.el
index be40995..b8f5b45 100644
--- a/style/flashcards.el
+++ b/style/flashcards.el
@@ -61,6 +61,6 @@
                                ("cardfrontheadstyle" "[{")
                                ("cardfrontfootstyle" "[{"))
                              'variable)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; flashcards.el ends here
diff --git a/style/floatrow.el b/style/floatrow.el
index 9bf6838..6523f71 100644
--- a/style/floatrow.el
+++ b/style/floatrow.el
@@ -739,7 +739,7 @@ only the parsed items."
                                ("DeclareNewFloatType"       "{{")
                                ("RawFloats"                 ""))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-floatrow-package-options nil
   "Prompt for package options for the floatrow package.")
diff --git a/style/foils.el b/style/foils.el
index c117cdb..ec3ebef 100644
--- a/style/foils.el
+++ b/style/foils.el
@@ -33,7 +33,7 @@
     (setq LaTeX-default-options '("landscape"))
     (TeX-add-symbols
      '("foilhead" [ "Rubric-body separation" ] "Foil rubric"))))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-style-foils nil
   "Prompt for and insert foiltex options."
diff --git a/style/fontaxes.el b/style/fontaxes.el
index ee0af5e..26be0a0 100644
--- a/style/fontaxes.el
+++ b/style/fontaxes.el
@@ -106,7 +106,7 @@
                               'type-command)
      (font-latex-add-keywords '(("figureversion"       "{"))
                               'variable)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-fontaxes-package-options nil
   "Package options for the fontaxes package.")
diff --git a/style/fontspec.el b/style/fontspec.el
index b4378ca..ec6bf38 100644
--- a/style/fontspec.el
+++ b/style/fontspec.el
@@ -402,7 +402,7 @@ to retrieve the list of fonts."
                              'type-command)
      (font-latex-add-keywords '(("strong"    "{"))
                              'bold-command)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-fontspec-package-options
   '("tuenc" "euenc" "math" "no-math" "config" "no-config" "quiet" "silent")
diff --git a/style/footmisc.el b/style/footmisc.el
index 3db2c26..6fad9f9 100644
--- a/style/footmisc.el
+++ b/style/footmisc.el
@@ -66,7 +66,7 @@
                                 ("DefineFNsymbolsTM*" "{{")
                                ("setfnsymbol" "{")) 'function)
      (font-latex-add-keywords '(("footnoteref")) 'reference)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-footmisc-package-options '("perpage" "side" "ragged"
                                          "para" "symbol" "symbol*"
diff --git a/style/framed.el b/style/framed.el
index 14b27e7..1b81766 100644
--- a/style/framed.el
+++ b/style/framed.el
@@ -44,7 +44,7 @@
     '("snugshade*")
     '("leftbar")
     '("titled-frame" "Title")))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-framed-package-options nil
   "Package options for the framed package.")
diff --git a/style/francais.el b/style/francais.el
index 7c0a3d1..f8d88a5 100644
--- a/style/francais.el
+++ b/style/francais.el
@@ -37,6 +37,6 @@
  "francais"
  (lambda ()
    (TeX-run-style-hooks "frenchb"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; francais.el ends here
diff --git a/style/french.el b/style/french.el
index 1ae822e..9d76f88 100644
--- a/style/french.el
+++ b/style/french.el
@@ -44,6 +44,6 @@
              (not (member "frenchle" TeX-active-styles))
              (not (member "mlp" TeX-active-styles)))
      (TeX-run-style-hooks "frenchb")))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; french.el ends here
diff --git a/style/frenchb.el b/style/frenchb.el
index 9848b63..7625f8c 100644
--- a/style/frenchb.el
+++ b/style/frenchb.el
@@ -74,6 +74,6 @@
                       (unless (member "xspace" TeX-active-styles) "{}")))
             ,TeX-quote-after-quote)))
    (run-hooks 'TeX-language-fr-hook))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; frenchb.el ends here
diff --git a/style/fvextra.el b/style/fvextra.el
index 0ebd7ef..1cfb29b 100644
--- a/style/fvextra.el
+++ b/style/fvextra.el
@@ -187,7 +187,7 @@
                              'function)
      (font-latex-add-keywords '(("EscVerb"     "*["))
                              'textual)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-fvextra-package-options nil
   "Package options for the fvextra package.")
diff --git a/style/geometry.el b/style/geometry.el
index f726824..47d8f85 100644
--- a/style/geometry.el
+++ b/style/geometry.el
@@ -148,7 +148,7 @@ package.")
    (if (and (LaTeX-provided-package-options-member "geometry" "dvipdfmx")
            (not (eq TeX-engine 'xetex)))
        (setq TeX-PDF-from-DVI "Dvipdfmx")))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-geometry-package-options ()
   "Prompt for package options for the geometry package."
diff --git a/style/german.el b/style/german.el
index 1ce04d2..58e32e5 100644
--- a/style/german.el
+++ b/style/german.el
@@ -54,6 +54,6 @@
      ;; Prevent "| from leading to color bleed.
      (font-latex-add-to-syntax-alist (list (cons ?\" "\\"))))
    (run-hooks 'TeX-language-de-hook))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; german.el ends here
diff --git a/style/gloss-italian.el b/style/gloss-italian.el
index 28db473..b8e9d0f 100644
--- a/style/gloss-italian.el
+++ b/style/gloss-italian.el
@@ -67,7 +67,7 @@
      (when (fboundp 'font-latex-add-quotes)
        (font-latex-add-quotes '("\"<" "\">" french))))
    (run-hooks 'TeX-language-it-hook))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-polyglossia-italian-options-list
   '(("babelshorthands" ("true" "false")))
diff --git a/style/graphics.el b/style/graphics.el
index 0e350c1..264c578 100644
--- a/style/graphics.el
+++ b/style/graphics.el
@@ -12,6 +12,6 @@
  (function
   (lambda ()
     (TeX-run-style-hooks "graphicx")))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; graphics.el ends here.
diff --git a/style/graphicx.el b/style/graphicx.el
index cfcba21..b425e7e 100644
--- a/style/graphicx.el
+++ b/style/graphicx.el
@@ -302,7 +302,7 @@ subdirectories and inserts the relative file name.  See
    (if (and (LaTeX-provided-package-options-member "graphicx" "dvipdfmx")
            (not (eq TeX-engine 'xetex)))
        (setq TeX-PDF-from-DVI "Dvipdfmx")))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-graphicx-package-options
   '("draft"       "final"         "debugshow"
diff --git a/style/harvard.el b/style/harvard.el
index 8574883..79d653b 100644
--- a/style/harvard.el
+++ b/style/harvard.el
@@ -106,7 +106,7 @@
    (when (and LaTeX-reftex-cite-format-auto-activate
              (fboundp 'reftex-set-cite-format))
      (reftex-set-cite-format 'harvard)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-env-harvardbib (environment &optional _ignore)
   "Insert ENVIRONMENT with label for harvarditem."
diff --git a/style/hologo.el b/style/hologo.el
index bc0d759..ac18e53 100644
--- a/style/hologo.el
+++ b/style/hologo.el
@@ -230,7 +230,7 @@
                                ("hologoList"          "")
                                ("hologoEntry"         "{{{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-hologo-package-options nil
   "Package options for the hologo package.")
diff --git a/style/hyperref.el b/style/hyperref.el
index 2c8a73f..9b2ae21 100644
--- a/style/hyperref.el
+++ b/style/hyperref.el
@@ -326,7 +326,7 @@
    (and LaTeX-reftex-ref-style-auto-activate
        (fboundp 'reftex-ref-style-activate)
        (reftex-ref-style-activate "Hyperref")))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-hyperref-package-options ()
   "Read the hyperref package options from the user."
diff --git a/style/icelandic.el b/style/icelandic.el
index 054feed..58f2e3c 100644
--- a/style/icelandic.el
+++ b/style/icelandic.el
@@ -54,6 +54,6 @@
      (font-latex-add-quotes '("\"`" "\"'"))
      (font-latex-add-quotes '("\"<" "\">" french)))
    (run-hooks 'TeX-language-is-hook))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; icelandic.el ends here
diff --git a/style/ifluatex.el b/style/ifluatex.el
index 67f67ee..9964ee3 100644
--- a/style/ifluatex.el
+++ b/style/ifluatex.el
@@ -62,7 +62,7 @@
      (font-latex-add-keywords '(("luatexversion")
                                ("luatexrevision"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-ifluatex-package-options nil
   "Package options for the ifluatex package.")
diff --git a/style/imakeidx.el b/style/imakeidx.el
index 7d42e43..1410498 100644
--- a/style/imakeidx.el
+++ b/style/imakeidx.el
@@ -90,7 +90,7 @@
          TeX-complete-list))
    (and (fboundp 'reftex-add-index-macros)
        (reftex-add-index-macros '(default))))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-imakeidx-package-options
   '("makeindex" "xindy" "texindy" "truexindy" "noautomatic" "nonewpage" "quiet"
diff --git a/style/index.el b/style/index.el
index 6e0289f..cd99840 100644
--- a/style/index.el
+++ b/style/index.el
@@ -76,7 +76,7 @@
     ;; RefTeX support
     (and (fboundp 'reftex-add-index-macros)
         (reftex-add-index-macros '(index))))
-  LaTeX-dialect)
+  TeX-dialect)
 
 (defvar LaTeX-index-package-options nil
   "Package options for the index package.")
diff --git a/style/inputenc.el b/style/inputenc.el
index 22cd527..eac202e 100644
--- a/style/inputenc.el
+++ b/style/inputenc.el
@@ -78,7 +78,7 @@
    ;; New symbols
    (TeX-add-symbols
     '("inputencoding" LaTeX-arg-inputenc-inputenc)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;; Local Variables:
 ;; coding: utf-8
diff --git a/style/italian.el b/style/italian.el
index fe4b498..e6240ec 100644
--- a/style/italian.el
+++ b/style/italian.el
@@ -60,6 +60,6 @@
    (when (fboundp 'font-latex-add-quotes)
      (font-latex-add-quotes '("\"<" "\">" french)))
    (run-hooks 'TeX-language-it-hook))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; italian.el ends here
diff --git a/style/j-article.el b/style/j-article.el
index 05e5a84..f0e3961 100644
--- a/style/j-article.el
+++ b/style/j-article.el
@@ -6,6 +6,6 @@
  "j-article"
  (lambda ()
    (LaTeX-largest-level-set "section"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; j-article.el ends here
diff --git a/style/j-book.el b/style/j-book.el
index cb4834f..b4ea20a 100644
--- a/style/j-book.el
+++ b/style/j-book.el
@@ -6,6 +6,6 @@
  "j-book"
  (lambda ()
    (LaTeX-largest-level-set "part"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; j-book.el ends here
diff --git a/style/j-report.el b/style/j-report.el
index 8e3933d..fc78236 100644
--- a/style/j-report.el
+++ b/style/j-report.el
@@ -6,6 +6,6 @@
  "j-report"
  (lambda ()
    (LaTeX-largest-level-set "chapter"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; j-report.el ends here
diff --git a/style/jarticle.el b/style/jarticle.el
index 3b61e90..f1b7e2f 100644
--- a/style/jarticle.el
+++ b/style/jarticle.el
@@ -18,6 +18,6 @@
                       "subparagraph" "figure" "table")
    (LaTeX-add-pagestyles "headings" "myheadings")
    (LaTeX-add-environments "abstract"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; jarticle.el ends here
diff --git a/style/jbook.el b/style/jbook.el
index ba15ff1..7b22598 100644
--- a/style/jbook.el
+++ b/style/jbook.el
@@ -17,6 +17,6 @@
    (LaTeX-add-counters "part" "chapter" "section" "subsection" "subsubsection"
                       "paragraph" "subparagraph" "figure" "table")
    (LaTeX-add-pagestyles "headings" "myheadings"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; jbook.el ends here
diff --git a/style/jreport.el b/style/jreport.el
index ead42e0..2691589 100644
--- a/style/jreport.el
+++ b/style/jreport.el
@@ -18,6 +18,6 @@
                       "paragraph" "subparagraph" "figure" "table")
    (LaTeX-add-pagestyles "headings" "myheadings")
    (LaTeX-add-environments "abstract"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; jreport.el ends here
diff --git a/style/jsarticle.el b/style/jsarticle.el
index 3396749..580ee73 100644
--- a/style/jsarticle.el
+++ b/style/jsarticle.el
@@ -22,6 +22,6 @@
                       "subparagraph" "figure" "table")
    (LaTeX-add-pagestyles "headings" "myheadings")
    (LaTeX-add-environments "abstract"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; jsarticle.el ends here
diff --git a/style/jsbook.el b/style/jsbook.el
index 09038c6..ef2d5d7 100644
--- a/style/jsbook.el
+++ b/style/jsbook.el
@@ -26,6 +26,6 @@
    (LaTeX-add-counters "part" "chapter" "section" "subsection" "subsubsection"
                       "paragraph" "subparagraph" "figure" "table")
    (LaTeX-add-pagestyles "headings" "myheadings"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; jsbook.el ends here
diff --git a/style/jsreport.el b/style/jsreport.el
index f3e4c58..14e73c8 100644
--- a/style/jsreport.el
+++ b/style/jsreport.el
@@ -51,6 +51,6 @@
                       "paragraph" "subparagraph" "figure" "table")
    (LaTeX-add-pagestyles "headings" "myheadings")
    (LaTeX-add-environments "abstract"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; jsreport.el ends here
diff --git a/style/jura.el b/style/jura.el
index 8475ddb..8925a79 100644
--- a/style/jura.el
+++ b/style/jura.el
@@ -33,7 +33,7 @@
  "jura"
  (lambda ()
    (TeX-run-style-hooks "alphanum"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;; Local Variables:
 ;; coding: utf-8
diff --git a/style/jurabib.el b/style/jurabib.el
index 716b3cd..59c8202 100644
--- a/style/jurabib.el
+++ b/style/jurabib.el
@@ -636,6 +636,6 @@
     "volname"
     "volumename"
     "volumeofname"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; jurabib.el ends here
diff --git a/style/kantlipsum.el b/style/kantlipsum.el
index 78c0540..05c4986 100644
--- a/style/kantlipsum.el
+++ b/style/kantlipsum.el
@@ -37,7 +37,7 @@
     '("kant*" [ "Range of paragraph (max: 164)" ])
     '("kantdef" TeX-arg-define-macro "Paragraph number"))
    (TeX-run-style-hooks "xparse"))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-kantlipsum-package-options
   '("par" "nopar" "numbers" "index")
diff --git a/style/kpfonts.el b/style/kpfonts.el
index a6598ff..bb0c9e7 100644
--- a/style/kpfonts.el
+++ b/style/kpfonts.el
@@ -579,7 +579,7 @@ following commands are defined:
      (font-latex-add-keywords '(("scslshape")
                                ("otherscslshape"))
                              'italic-declaration)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-kpfonts-package-options
   '(;; Main global options
diff --git a/style/latexinfo.el b/style/latexinfo.el
index 2c8835a..2e0d9f0 100644
--- a/style/latexinfo.el
+++ b/style/latexinfo.el
@@ -177,6 +177,6 @@ This fails when the user types in the label of something 
else"
     ;; need the following stuff to let xref and pxref work
     (make-local-variable 'LaTeX-section-label)
     (setq LaTeX-section-label "")))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; latexinfo.el ends here
diff --git a/style/letter.el b/style/letter.el
index 55ef27b..bcc1b2b 100644
--- a/style/letter.el
+++ b/style/letter.el
@@ -86,7 +86,7 @@
                                ("encl" "{")
                                ("ps" "{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-env-recipient (environment)
   "Insert ENVIRONMENT and prompt for recipient and address."
diff --git a/style/lettrine.el b/style/lettrine.el
index 5b04be3..5be5fd2 100644
--- a/style/lettrine.el
+++ b/style/lettrine.el
@@ -87,7 +87,7 @@
    (when (and (fboundp 'font-latex-add-keywords)
              (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("lettrine" "[{{")) 'textual)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-lettrine-package-options nil
   "Package options for the lettrine package.")
diff --git a/style/lipsum.el b/style/lipsum.el
index 7715637..be80b0f 100644
--- a/style/lipsum.el
+++ b/style/lipsum.el
@@ -37,7 +37,7 @@
     '("lipsum*" [ "Range of paragraph (max: 150)" ])
     '("setlipsumdefault" [ "Default range of paragraph (max: 150)" ])
     '("ChangeLipsumPar" 0)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-lipsum-package-options
   '("nopar")
diff --git a/style/listings.el b/style/listings.el
index 392986c..c5012b1 100644
--- a/style/listings.el
+++ b/style/listings.el
@@ -459,7 +459,7 @@ caption key is found, an error is issued."
                                ("lstdefinestyle" "{{")
                                ("lstset" "{"))
                              'variable)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-listings-package-options '("draft" "final" "savemem"
                                         "noaspects"
diff --git a/style/longtable.el b/style/longtable.el
index 77f518f..18efcdd 100644
--- a/style/longtable.el
+++ b/style/longtable.el
@@ -129,7 +129,7 @@ insert line break macro."
      ;; to fontify correctly also the standard `\caption[]{}' macro.
      (font-latex-add-keywords '(("caption" "*[{"))
                              'textual)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;; `longtable.sty' has two options "errorshow" and "pausing", both for
 ;; debugging purposes.  We ignore them both in order to make package
diff --git a/style/lscape.el b/style/lscape.el
index 301ef13..980fc6e 100644
--- a/style/lscape.el
+++ b/style/lscape.el
@@ -37,7 +37,7 @@
     "landscape")
    ;; lscape uses graphics internally to handle the work
    (TeX-run-style-hooks "graphics"))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-lscape-package-options '("pdftex")
   "Package options for the lscape package.")
diff --git a/style/ltablex.el b/style/ltablex.el
index 268d06b..94c2b9c 100644
--- a/style/ltablex.el
+++ b/style/ltablex.el
@@ -41,7 +41,7 @@
    (TeX-add-symbols
     '("keepXColumns" 0)
     '("convertXColumns" 0)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-ltablex-package-options nil
   "Package options for the ltablex package.")
diff --git a/style/ltugboat.el b/style/ltugboat.el
index d49371a..f09e6a8 100644
--- a/style/ltugboat.el
+++ b/style/ltugboat.el
@@ -278,7 +278,7 @@
                              'function)
      (font-latex-add-keywords '(("nameref" "{"))
                              'reference)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-ltugboat-class-options
   '("draft" "final" "preprint"
diff --git a/style/ltx-base.el b/style/ltx-base.el
index 37f8a47..bd49718 100644
--- a/style/ltx-base.el
+++ b/style/ltx-base.el
@@ -80,7 +80,7 @@
      '("@ifundefined" "Macro Name" 2)
      '("@ifnextchar" (TeX-arg-literal " ") (TeX-arg-free "character") 2 )
      "expandafter")))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;; Local Variables:
 ;; coding: utf-8
diff --git a/style/ltxdoc.el b/style/ltxdoc.el
index c929295..d29c62d 100644
--- a/style/ltxdoc.el
+++ b/style/ltxdoc.el
@@ -34,7 +34,7 @@
  (lambda ()
    (TeX-run-style-hooks "doc")
    (TeX-run-style-hooks "ltx-base"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;; Local Variables:
 ;; coding: utf-8
diff --git a/style/ltxguide.el b/style/ltxguide.el
index f1a58fb..678886c 100644
--- a/style/ltxguide.el
+++ b/style/ltxguide.el
@@ -110,7 +110,7 @@ For decl environment provided by ltxguide.cls."
                              'textual)
      (font-latex-add-keywords '(("URL" ""))
                              'reference)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-ltxguide-class-options
   (progn
diff --git a/style/ltxtable.el b/style/ltxtable.el
index 3aa2424..0d3f878 100644
--- a/style/ltxtable.el
+++ b/style/ltxtable.el
@@ -84,7 +84,7 @@ The regexp for the 2. argument is the same as for \"input\" 
and
              (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("LTXtable"  "{{"))
                              'textual)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-ltxtable-package-options nil
   "Package options for the ltxtable package.")
diff --git a/style/luacode.el b/style/luacode.el
index 236fbd1..a9a6232 100644
--- a/style/luacode.el
+++ b/style/luacode.el
@@ -60,7 +60,7 @@
                                ("LuaCodeDebugOn")
                                ("LuaCodeDebugOff"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-luacode-package-options nil
   "Package options for the luacode package.")
diff --git a/style/luatextra.el b/style/luatextra.el
index 0d63483..b9ddf89 100644
--- a/style/luatextra.el
+++ b/style/luatextra.el
@@ -36,7 +36,7 @@
                         ;; FIXME: yet to be written:
                         ;; "luatexbase"
                         "metalogo" "luacode"))
-  LaTeX-dialect)
+  TeX-dialect)
 
 (defvar LaTeX-luatextra-package-options nil
   "Package options for the ifluatex package.")
diff --git a/style/makeidx.el b/style/makeidx.el
index c5b891b..2c064b6 100644
--- a/style/makeidx.el
+++ b/style/makeidx.el
@@ -41,7 +41,7 @@
     ;; RefTeX support
     (and (fboundp 'reftex-add-index-macros)
         (reftex-add-index-macros '(default))))
-  LaTeX-dialect)
+  TeX-dialect)
 
 (defvar LaTeX-makeidx-package-options nil
   "Package options for the makeidx package.")
diff --git a/style/marginnote.el b/style/marginnote.el
index 7eeb468..657faf0 100644
--- a/style/marginnote.el
+++ b/style/marginnote.el
@@ -59,7 +59,7 @@
              (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("marginnote"  "[{["))
                              'reference)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-marginnote-package-options
   '("fulladjust" "heightadjust" "depthadjust" "noadjust"
diff --git a/style/mathtools.el b/style/mathtools.el
index 7ff8be1..c8693d5 100644
--- a/style/mathtools.el
+++ b/style/mathtools.el
@@ -486,6 +486,6 @@ Put line break macro on the last line.  Next, insert an 
ampersand."
      (font-latex-add-keywords '(("refeq"   "{")
                                ("noeqref" "{"))
                              'reference)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; mathtools.el ends here
diff --git a/style/mdframed.el b/style/mdframed.el
index aaf449f..41c9cd5 100644
--- a/style/mdframed.el
+++ b/style/mdframed.el
@@ -412,7 +412,7 @@
                              'sectioning-5)
      (font-latex-add-keywords '(("mdflength"            "{"))
                              'variable)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-mdframed-package-options-list
   '(("xcolor")
diff --git a/style/mdsymbol.el b/style/mdsymbol.el
index de50572..be8fcd5 100644
--- a/style/mdsymbol.el
+++ b/style/mdsymbol.el
@@ -80,7 +80,7 @@
       '("circledS")
       '("lambdabar")
       '("lambdaslash"))))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-mdsymbol-package-options
   '(;;
diff --git a/style/mdwlist.el b/style/mdwlist.el
index fa9f171..6273aca 100644
--- a/style/mdwlist.el
+++ b/style/mdwlist.el
@@ -61,7 +61,7 @@
                                ("suspend" "[{")
                                ("resume" "[{["))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-mdwlist-package-options nil
   "Package options for the mdwlist package.")
diff --git a/style/memoir.el b/style/memoir.el
index b1069ed..878aa2c 100644
--- a/style/memoir.el
+++ b/style/memoir.el
@@ -80,6 +80,6 @@
     "verbatim" "verse")
 
    (LaTeX-largest-level-set "chapter"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; memoir.el ends here
diff --git a/style/menukeys.el b/style/menukeys.el
index 2a10dfe..09f45ec 100644
--- a/style/menukeys.el
+++ b/style/menukeys.el
@@ -530,7 +530,7 @@ macro.  If RENEW is non-nil, query for an already defined 
macro."
                                ("providemenumacro"         "|{\\[{")
                                ("renewmenumacro"           "|{\\[{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-menukeys-package-options-list
   '(("definemenumacros" ("true" "false"))
diff --git a/style/metalogo.el b/style/metalogo.el
index 9ee4533..27d5714 100644
--- a/style/metalogo.el
+++ b/style/metalogo.el
@@ -82,7 +82,7 @@
                                ("seteverylogo" "{")
                                ("everylogo" "{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-metalogo-package-options nil
   "Package options for the metalogo package.")
diff --git a/style/mflogo.el b/style/mflogo.el
index 7faa19a..7c33735 100644
--- a/style/mflogo.el
+++ b/style/mflogo.el
@@ -51,7 +51,7 @@
                              'type-command)
      (font-latex-add-keywords '(("logofamily" ""))
                              'type-declaration)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-mflogo-package-options nil
   "Package options for the mflogo package.")
diff --git a/style/minted.el b/style/minted.el
index 985b2c7..56a3a09 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -472,7 +472,7 @@ a list of strings."
                                                '("mint" "mintinline"))
      ;; Tell font-lock about the update.
      (font-latex-set-syntactic-keywords)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-minted-package-options '("chapter"     "cache"
                                       "cachedir"    "finalizecache"
diff --git a/style/mn2e.el b/style/mn2e.el
index c85afc5..406ed97 100644
--- a/style/mn2e.el
+++ b/style/mn2e.el
@@ -170,7 +170,7 @@
                                ("journal")
                                ("bsp"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-mn2e-class-options
   '("useAMS" "usegraphicx" "usenatbib" "usedcolumn"
diff --git a/style/moodle.el b/style/moodle.el
index 920e385..2130321 100644
--- a/style/moodle.el
+++ b/style/moodle.el
@@ -209,7 +209,7 @@
                                ;; Cater for a fontified starred \item
                                ("item"   "*["))
                              'textual)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-moodle-package-options
   '("draft")
diff --git a/style/multicol.el b/style/multicol.el
index 85e5df9..661725a 100644
--- a/style/multicol.el
+++ b/style/multicol.el
@@ -54,7 +54,7 @@
     '("raggedcolumns" 0)
     '("flushcolumns" 0)
     "columnbreak"))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-multicol-package-options
   '("errorshow" "infoshow" "balancingshow" "markshow" "debugshow" "grid")
diff --git a/style/multido.el b/style/multido.el
index 66d4390..8de226f 100644
--- a/style/multido.el
+++ b/style/multido.el
@@ -48,6 +48,6 @@
      "multidocount"
      '("fpAdd" "Summand 1" "Summand 2" "Register")
      '("fpSub" "Minuend" "Subtrahend" "Register"))))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; multido.el ends here
diff --git a/style/multind.el b/style/multind.el
index 53d1890..5c27c34 100644
--- a/style/multind.el
+++ b/style/multind.el
@@ -54,7 +54,7 @@
     ;; RefTeX support
     (and (fboundp 'reftex-add-index-macros)
         (reftex-add-index-macros '(multind))))
-  LaTeX-dialect)
+  TeX-dialect)
 
 (defvar LaTeX-multind-package-options nil
   "Package options for the multind package.")
diff --git a/style/multirow.el b/style/multirow.el
index f2b1e3d..2754f03 100644
--- a/style/multirow.el
+++ b/style/multirow.el
@@ -49,7 +49,7 @@
    (when (and (featurep 'font-latex)
              (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("multirow" "{[{")) 'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-multirow-package-options nil
   "Package options for the multirow package.")
diff --git a/style/multitoc.el b/style/multitoc.el
index 2c77e76..94545ee 100644
--- a/style/multitoc.el
+++ b/style/multitoc.el
@@ -39,7 +39,7 @@
     "multicolumntoc"
     "multicolumnlot"
     "multicolumnlof"))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-multitoc-package-options
   '("toc" "lof" "lot")
diff --git a/style/nameref.el b/style/nameref.el
index 41254c5..a89aa3b 100644
--- a/style/nameref.el
+++ b/style/nameref.el
@@ -54,7 +54,7 @@
      (font-latex-add-keywords '(("nameref" "*{")
                                ("Nameref" "{"))
                              'reference)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-nameref-package-options nil
   "Package options for nameref.")
diff --git a/style/natbib.el b/style/natbib.el
index 1574519..88164f6 100644
--- a/style/natbib.el
+++ b/style/natbib.el
@@ -167,7 +167,7 @@
    (when (and LaTeX-reftex-cite-format-auto-activate
              (fboundp 'reftex-set-cite-format))
      (reftex-set-cite-format 'natbib)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-arg-natbib-notes (optional)
   "Prompt for two note arguments a natbib citation command.
diff --git a/style/naustrian.el b/style/naustrian.el
index e1be39f..297f825 100644
--- a/style/naustrian.el
+++ b/style/naustrian.el
@@ -35,6 +35,6 @@
  "naustrian"
  (lambda ()
    (TeX-run-style-hooks "ngerman"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; naustrian.el ends here
diff --git a/style/newfloat.el b/style/newfloat.el
index c4a115c..5246f2f 100644
--- a/style/newfloat.el
+++ b/style/newfloat.el
@@ -207,7 +207,7 @@ If `caption.el' is loaded, add the new floating environment 
to
                                ("PrepareListOf"               "{{")
                                ("newfloatsetup"               "{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-newfloat-package-options ()
   "Prompt for package options for the newfloat package."
diff --git a/style/newpxmath.el b/style/newpxmath.el
index 2891608..a52a14c 100644
--- a/style/newpxmath.el
+++ b/style/newpxmath.el
@@ -54,7 +54,7 @@
     '("varmathbb"      "Character")
     '("vmathbb"        "Character")
     '("vvmathbb"       "Character")))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-newpxmath-package-options
   '("varg"
diff --git a/style/newpxtext.el b/style/newpxtext.el
index 2dc5ec5..678812a 100644
--- a/style/newpxtext.el
+++ b/style/newpxtext.el
@@ -73,7 +73,7 @@
                                ("tosfstyle" "")
                                ("sustyle"   ""))
                               'type-declaration)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-newpxtext-package-options
   '("defaultsups" "scosf" "largesc"
diff --git a/style/newtxmath.el b/style/newtxmath.el
index b72fab6..e8cad0d 100644
--- a/style/newtxmath.el
+++ b/style/newtxmath.el
@@ -55,7 +55,7 @@
     '("existsAlt"      0)
     '("nexistsAlt"     0)
     '("vvmathbb"       "Character")))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-newtxmath-package-options
   '("varg"
diff --git a/style/newtxsf.el b/style/newtxsf.el
index 053f974..4abf775 100644
--- a/style/newtxsf.el
+++ b/style/newtxsf.el
@@ -41,7 +41,7 @@
    (TeX-add-symbols
     '("upimath"  0)
     '("upjmath"  0)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-newtxsf-package-options
   '("scaled"
diff --git a/style/newtxtext.el b/style/newtxtext.el
index 6011d01..c939b81 100644
--- a/style/newtxtext.el
+++ b/style/newtxtext.el
@@ -73,7 +73,7 @@
                                ("tosfstyle" "")
                                ("sustyle"   ""))
                               'type-declaration)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-newtxtext-package-options
   '("defaultsups" "helvratio" "osf" "scaled" "scosf"
diff --git a/style/newtxttt.el b/style/newtxttt.el
index feeb9e1..421ad7f 100644
--- a/style/newtxttt.el
+++ b/style/newtxttt.el
@@ -57,7 +57,7 @@
      (font-latex-add-keywords '(("ttzfamily"  "")
                                ("ttz"        ""))
                              'type-declaration)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-newtxtt-package-options
   '("scaled" "zerostyle" "nomono" "straightquotes"
diff --git a/style/newzealand.el b/style/newzealand.el
index bd2229d..2c400c2 100644
--- a/style/newzealand.el
+++ b/style/newzealand.el
@@ -35,6 +35,6 @@
  "newzealand"
  (lambda ()
    (TeX-run-style-hooks "english"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; newzealand.el ends here
diff --git a/style/ngerman.el b/style/ngerman.el
index 8cc8a95..54601ac 100644
--- a/style/ngerman.el
+++ b/style/ngerman.el
@@ -54,6 +54,6 @@
      ;; Prevent "| from leading to color bleed.
      (font-latex-add-to-syntax-alist (list (cons ?\" "\\"))))
    (run-hooks 'TeX-language-de-hook))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; ngerman.el ends here
diff --git a/style/nicefrac.el b/style/nicefrac.el
index e156d2a..86827c1 100644
--- a/style/nicefrac.el
+++ b/style/nicefrac.el
@@ -43,7 +43,7 @@
    (when (and (featurep 'font-latex)
              (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("nicefrac" "[{{")) 'textual)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-nicefrac-package-options '("nice" "ugly")
   "Package options for the nicefrac package.")
diff --git a/style/nomencl.el b/style/nomencl.el
index f035c76..94697c8 100644
--- a/style/nomencl.el
+++ b/style/nomencl.el
@@ -71,6 +71,6 @@
              (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("nomenclature" "[{{"))
                              'reference)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; nomencl.el ends here
diff --git a/style/ntheorem.el b/style/ntheorem.el
index 4886442..f5222eb 100644
--- a/style/ntheorem.el
+++ b/style/ntheorem.el
@@ -433,7 +433,7 @@ make them available as new environments.  Update
                              'function)
      (font-latex-add-keywords '(("thref"                  "{"))
                              'reference)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-ntheorem-package-options
   '("standard" "noconfig" "framed" "thmmarks" "thref" "amsmath" "hyperref")
diff --git a/style/ocg-p.el b/style/ocg-p.el
index 1c4cb80..e6c8c47 100644
--- a/style/ocg-p.el
+++ b/style/ocg-p.el
@@ -187,7 +187,7 @@ Just like array and tabular."
                                ("hideocgs"            "[{{")
                                ("setocgs"             "[{{{{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-ocg-p-package-options '("ocgtabular")
   "Package options for the ocg-p package.")
diff --git a/style/ocgx.el b/style/ocgx.el
index a65e2c5..83142a2 100644
--- a/style/ocgx.el
+++ b/style/ocgx.el
@@ -65,7 +65,7 @@
                                ("hideocg"    "{{")
                                ("actionsocg" "{{{{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-ocgx-package-options nil
   "Package options for the ocgx package.")
diff --git a/style/overpic.el b/style/overpic.el
index dc75845..6965add 100644
--- a/style/overpic.el
+++ b/style/overpic.el
@@ -106,7 +106,7 @@ ones provided by `LaTeX-graphicx-key-val-options'."
              (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("setOverpic" "{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-overpic-package-options
   (progn
diff --git a/style/paracol.el b/style/paracol.el
index 98b2bd2..48a692f 100644
--- a/style/paracol.el
+++ b/style/paracol.el
@@ -283,7 +283,7 @@ If OPTIONAL is non-nil, insert the result in square 
brackets."
                                ("resetbackgroundcolor"         "")
                                ("addcontentsonly"              "{{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-paracol-package-options nil
   "Package options for the paracol package.")
diff --git a/style/paralist.el b/style/paralist.el
index 479d352..b4afe46 100644
--- a/style/paralist.el
+++ b/style/paralist.el
@@ -98,7 +98,7 @@
                                ("setdefaultenum" "{{{{")
                                ("setdefaultleftmargin" "{{{{{{"))
                              'variable)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-paralist-package-options '("newitem" "olditem" "newenum"
                                         "oldenum" "alwaysadjust"
diff --git a/style/pdflscape.el b/style/pdflscape.el
index 26e296d..5c0bc70 100644
--- a/style/pdflscape.el
+++ b/style/pdflscape.el
@@ -36,7 +36,7 @@
  (lambda ()
    ;; Load lscape.el and we are done
    (TeX-run-style-hooks "lscape"))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-pdflscape-package-options nil
   "Package options for the pdflscape package.")
diff --git a/style/pdfpages.el b/style/pdfpages.el
index 9f109ed..4b99675 100644
--- a/style/pdfpages.el
+++ b/style/pdfpages.el
@@ -132,7 +132,7 @@
      (font-latex-add-keywords '(("includepdf"       "[{")
                                ("includepdfmerge"  "[{"))
                              'reference)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-pdfpages-package-options
   '("final" "draft" "enable-survey")
diff --git a/style/pdfsync.el b/style/pdfsync.el
index 4bf889a..aec602b 100644
--- a/style/pdfsync.el
+++ b/style/pdfsync.el
@@ -85,6 +85,6 @@
  "pdfsync"
  (lambda ()
    (setq TeX-source-correlate-output-page-function 'LaTeX-pdfsync-output-page))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; pdfsync.el ends here
diff --git a/style/placeins.el b/style/placeins.el
index 6f0a5aa..b67848b 100644
--- a/style/placeins.el
+++ b/style/placeins.el
@@ -34,7 +34,7 @@
  (lambda ()
    (TeX-add-symbols
     '("FloatBarrier" 0)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-placeins-package-options 
   '("section" "above" "below" "verbose")
diff --git a/style/plext.el b/style/plext.el
index 2824db2..c32e648 100644
--- a/style/plext.el
+++ b/style/plext.el
@@ -47,7 +47,7 @@
    (set (make-local-variable 'LaTeX-tabular*-skipping-regexp)
        (concat "\\(?:<[tyz]>\\)?[ \t]*{[^}]*}[ \t]*"
                (regexp-opt '("[t]" "[b]" "")))))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-plext-env-array (env)
   (let ((dir (TeX-read-string "(Optional) Direction (t or y or z): "))
diff --git a/style/plfonts.el b/style/plfonts.el
index c959efd..f7de652 100644
--- a/style/plfonts.el
+++ b/style/plfonts.el
@@ -25,6 +25,6 @@
    (setq TeX-quote-after-quote t)
    (setq TeX-command-default "plLaTeX")
    (run-hooks 'TeX-language-pl-hook)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; plfonts.el ends here
diff --git a/style/plhb.el b/style/plhb.el
index 8601542..82a00a3 100644
--- a/style/plhb.el
+++ b/style/plhb.el
@@ -25,6 +25,6 @@
    (setq TeX-quote-after-quote t)
    (setq TeX-command-default "plLaTeX")
    (run-hooks 'TeX-language-pl-hook)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; plhb.el ends here
diff --git a/style/polish.el b/style/polish.el
index 71e2895..0c27bf3 100644
--- a/style/polish.el
+++ b/style/polish.el
@@ -48,6 +48,6 @@
      (font-latex-add-quotes '("\"`" "\"'"))
      (font-latex-add-quotes '("\"<" "\">" french)))
    (run-hooks 'TeX-language-pl-hook))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; polish.el ends here
diff --git a/style/polski.el b/style/polski.el
index 6d5837c..433096b 100644
--- a/style/polski.el
+++ b/style/polski.el
@@ -56,6 +56,6 @@
    (when (fboundp 'font-latex-add-quotes)
      (font-latex-add-quotes '(",," "''")))
    (run-hooks 'TeX-language-pl-hook))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; polski.el ends here
diff --git a/style/polyglossia.el b/style/polyglossia.el
index 698fa60..20b9fc0 100644
--- a/style/polyglossia.el
+++ b/style/polyglossia.el
@@ -274,7 +274,7 @@ argument, otherwise as a mandatory one."
                                ("setotherlanguages" "{")
                                ("setkeys" "{{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;; TODO: move each option variable in its specific `gloss-<lang>.el' file.
 (defvar LaTeX-polyglossia-arabic-options-list
diff --git a/style/preview.el b/style/preview.el
index 154e37a..ec6d9fb 100644
--- a/style/preview.el
+++ b/style/preview.el
@@ -94,7 +94,7 @@ OPTIONAL is ignored."
                                ("PreviewEnvironment"      "*[[{")
                                ("PreviewSnarfEnvironment" "[{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-preview-package-options
   '("active"      "noconfig"   "psfixbb"
diff --git a/style/prosper.el b/style/prosper.el
index 451cead..3960abc 100644
--- a/style/prosper.el
+++ b/style/prosper.el
@@ -184,6 +184,6 @@
     '("onlyInPS" t)
     '("onlyInPDF" t)
     '("FromSlide" "Number")))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; prosper.el ends here
diff --git a/style/psfig.el b/style/psfig.el
index 66f1d48..7aabe6f 100644
--- a/style/psfig.el
+++ b/style/psfig.el
@@ -23,7 +23,7 @@
      '("psfigure" LaTeX-env-psfigure)
      )
     ))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun TeX-arg-psfig (_optional)
    "Ask for file, width and length. Insert psfig macro"
diff --git a/style/pst-grad.el b/style/pst-grad.el
index 319685e..50417a5 100644
--- a/style/pst-grad.el
+++ b/style/pst-grad.el
@@ -66,6 +66,6 @@
     (setq LaTeX-pst-parameters-name-list
           (append LaTeX-pstgrad-parameters-name-list
                   LaTeX-pst-parameters-name-list))))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; pst-grad.el ends here
diff --git a/style/pst-node.el b/style/pst-node.el
index 9956da0..8a72647 100644
--- a/style/pst-node.el
+++ b/style/pst-node.el
@@ -199,6 +199,6 @@
      '("pscolhook" t))
     (TeX-run-style-hooks
      "pstricks")))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; pst-node.el ends here
diff --git a/style/pst-plot.el b/style/pst-plot.el
index d8cd003..843c614 100644
--- a/style/pst-plot.el
+++ b/style/pst-plot.el
@@ -143,6 +143,6 @@
     (setq LaTeX-pst-parameters-name-list
           (append LaTeX-pstplot-parameters-name-list
                   LaTeX-pst-parameters-name-list))))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; pst-plot.el ends here
diff --git a/style/pst-slpe.el b/style/pst-slpe.el
index e3664d2..7b68ce1 100644
--- a/style/pst-slpe.el
+++ b/style/pst-slpe.el
@@ -68,6 +68,6 @@
     (setq LaTeX-pst-parameters-name-list
           (append LaTeX-pstslpe-parameters-name-list
                   LaTeX-pst-parameters-name-list))))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; pst-slpe.el ends here
diff --git a/style/pstricks.el b/style/pstricks.el
index a904639..489fcb3 100644
--- a/style/pstricks.el
+++ b/style/pstricks.el
@@ -870,7 +870,7 @@ comma separated list. Point has to be within the sexp to 
modify."
     '("uput" LaTeX-pst-macro-uput t)
     '("multirput" (LaTeX-pst-macro-multirputps t) t)
     '("multips" (LaTeX-pst-macro-multirputps nil) t)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-pstricks-package-options
   '("97" "plain" "DIA" "vtex" "distiller" "noxcolor")
diff --git a/style/pythontex.el b/style/pythontex.el
index ce316b6..c408326 100644
--- a/style/pythontex.el
+++ b/style/pythontex.el
@@ -563,6 +563,6 @@ a list of strings."
      (LaTeX-pythontex-add-syntactic-keywords-extra 'delim "pygment")
      ;; Tell font-lock about the update.
      (font-latex-set-syntactic-keywords)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; pythontex.el ends here
diff --git a/style/ragged2e.el b/style/ragged2e.el
index 1148c11..c30d3a4 100644
--- a/style/ragged2e.el
+++ b/style/ragged2e.el
@@ -69,7 +69,7 @@
                                ("RaggedRight"  "")
                                ("RaggedLeft"   ""))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-ragged2e-package-options
   '("originalcommands" "newcommands" "originalparameters" "document"
diff --git a/style/relsize.el b/style/relsize.el
index b49d23f..6c57580 100644
--- a/style/relsize.el
+++ b/style/relsize.el
@@ -66,7 +66,7 @@
                                ("textsmaller"        "[{")
                                ("textscale"          "{{"))
                              'type-command)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-relsize-package-options nil
   "Package options for the relsize package.")
diff --git a/style/report.el b/style/report.el
index deae60c..f3adb17 100644
--- a/style/report.el
+++ b/style/report.el
@@ -17,6 +17,6 @@
                       "paragraph" "subparagraph" "figure" "table")
    (LaTeX-add-pagestyles "headings" "myheadings")
    (LaTeX-add-environments "abstract"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; report.el ends here
diff --git a/style/revtex4-2.el b/style/revtex4-2.el
index bf3e003..d8fd353 100644
--- a/style/revtex4-2.el
+++ b/style/revtex4-2.el
@@ -209,7 +209,7 @@ provided by REVTeX class."
                              'reference)
      (font-latex-add-keywords '(("appendix*" ""))
                              'warning)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-revtex4-2-class-options
   (progn
diff --git a/style/ruby.el b/style/ruby.el
index b625efe..3e36f7e 100644
--- a/style/ruby.el
+++ b/style/ruby.el
@@ -45,6 +45,6 @@
     '("rubysize" 0)
     '("rubysep" 0)
     '("ruby" t nil)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; ruby.el ends here
diff --git a/style/scrartcl.el b/style/scrartcl.el
index 96d4044..541ffbf 100644
--- a/style/scrartcl.el
+++ b/style/scrartcl.el
@@ -22,6 +22,6 @@
    ;; load basic definitons
    (TeX-run-style-hooks "scrbase")
    (LaTeX-add-environments "abstract"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; scrartcl.el ends here
diff --git a/style/scrbase.el b/style/scrbase.el
index b8da190..54668ef 100644
--- a/style/scrbase.el
+++ b/style/scrbase.el
@@ -189,7 +189,7 @@
       (font-latex-add-keywords '(("addpart" "[{")) 'sectioning-1)
       (font-latex-add-keywords '(("addsec" "[{")) 'sectioning-2)
       (font-latex-add-keywords '(("minisec" "[{")) 'sectioning-4)))
-  LaTeX-dialect)
+  TeX-dialect)
 
 (defun TeX-arg-KOMA-setpreamble (optional &optional prompt)
   "Prompt for KOMA-Script's \\set*preamble position with completion."
diff --git a/style/scrbook.el b/style/scrbook.el
index 81e43f9..9398899 100644
--- a/style/scrbook.el
+++ b/style/scrbook.el
@@ -63,6 +63,6 @@
                               'textual)
       ;; Sectioning keywords
       (font-latex-add-keywords '(("addchap" "[{")) 'sectioning-1)))
-  LaTeX-dialect)
+  TeX-dialect)
 
 ;;; scrbook.el ends here
diff --git a/style/scrlttr2.el b/style/scrlttr2.el
index 85bf0ae..89f22e2 100644
--- a/style/scrlttr2.el
+++ b/style/scrlttr2.el
@@ -203,7 +203,7 @@
                                "cleardoubleplainpage"
                                "cleardoubleemptypage")
                              'warning)))
-  LaTeX-dialect)
+  TeX-dialect)
 
 (defun TeX-arg-KOMA-scrlttr-vars (optional &optional prompt)
   "Prompt for KOMA-Script's scrlttr2 predefined variables with completion."
diff --git a/style/scrpage2.el b/style/scrpage2.el
index 3043d79..49f511b 100644
--- a/style/scrpage2.el
+++ b/style/scrpage2.el
@@ -116,7 +116,7 @@
                                ("renewpagestyle" "{{{")
                                ("providepagestyle" "{{{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-scrpage2-package-options '("headinclude" "headexclude"
                                         "footinclude" "footexclude"
diff --git a/style/scrreprt.el b/style/scrreprt.el
index ec7755b..406109b 100644
--- a/style/scrreprt.el
+++ b/style/scrreprt.el
@@ -65,6 +65,6 @@
                              'textual)
      ;; Sectioning keywords
      (font-latex-add-keywords '(("addchap" "[{")) 'sectioning-1)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; scrreprt.el ends here
diff --git a/style/setspace.el b/style/setspace.el
index 311c482..4d7df5a 100644
--- a/style/setspace.el
+++ b/style/setspace.el
@@ -58,7 +58,7 @@
                                ("doublespacing" "")
                                ("onehalfspacing" ""))
                               'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-setspace-package-options 
   '("doublespacing" "onehalfspacing" "singlespacing" "nodisplayskipstretch")
diff --git a/style/shortvrb.el b/style/shortvrb.el
index 313d588..a20a067 100644
--- a/style/shortvrb.el
+++ b/style/shortvrb.el
@@ -65,6 +65,6 @@
      (font-latex-add-to-syntax-alist
       (mapcar (lambda (char) (cons char "|"))
              LaTeX-shortvrb-chars))))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; shortvrb.el ends here
diff --git a/style/siunitx.el b/style/siunitx.el
index 287ea50..9e3631d 100644
--- a/style/siunitx.el
+++ b/style/siunitx.el
@@ -627,7 +627,7 @@ string."
                                ("DeclareSIQualifier" "|{\\{")
                                ("highlight" "{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-siunitx-package-options nil
   "Prompt for package options for the siunitx package."
diff --git a/style/slides.el b/style/slides.el
index 1a33ae4..50970ca 100644
--- a/style/slides.el
+++ b/style/slides.el
@@ -46,6 +46,6 @@
    (LaTeX-add-counters "minutes" "seconds")
    (LaTeX-add-pagestyles "headings" "slide" "overlay" "note")
    (setq LaTeX-default-document-environment "slide"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; slides.el ends here
diff --git a/style/slovak.el b/style/slovak.el
index 5db2932..393ebf8 100644
--- a/style/slovak.el
+++ b/style/slovak.el
@@ -14,4 +14,4 @@
      (font-latex-add-quotes '("\"`" "\"'"))
      (font-latex-add-quotes '("\"<" "\">" french)))
    (run-hooks 'TeX-language-sk-hook))
- LaTeX-dialect)
+ TeX-dialect)
diff --git a/style/sourcecodepro.el b/style/sourcecodepro.el
index b3a7f50..6ce3da0 100644
--- a/style/sourcecodepro.el
+++ b/style/sourcecodepro.el
@@ -68,7 +68,7 @@
                                ("sourcecodeproextreme" "")
                                ("sourcecodeprolf"      ""))
                              'type-declaration)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-sourcecodepro-package-options
   '("lining" "nf" "lf"
diff --git a/style/splitidx.el b/style/splitidx.el
index f2ed53f..70572ae 100644
--- a/style/splitidx.el
+++ b/style/splitidx.el
@@ -300,7 +300,7 @@
                              'function)
      (font-latex-add-keywords '(("sindex"             "[{"))
                              'reference)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-splitidx-package-options
   '("makeindex"
diff --git a/style/subcaption.el b/style/subcaption.el
index 7993236..4a573d4 100644
--- a/style/subcaption.el
+++ b/style/subcaption.el
@@ -184,7 +184,7 @@ caption, insert only a caption."
                              'reference)
      (font-latex-add-keywords '(("DeclareCaptionSubType" "*[{"))
                              'function)) )
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-subcaption-package-options ()
   "Prompt for package options for the subcaption package."
diff --git a/style/subfigure.el b/style/subfigure.el
index 8635508..b3e91e1 100644
--- a/style/subfigure.el
+++ b/style/subfigure.el
@@ -64,7 +64,7 @@
      (font-latex-add-keywords '(("Subref" "{")
                                ("subref" "{"))
                              'reference)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-subfigure-package-options '("normal" "hang" "center"
                                          "centerlast" "nooneline"
diff --git a/style/subfiles.el b/style/subfiles.el
index 33c22d5..ee3aeb5 100644
--- a/style/subfiles.el
+++ b/style/subfiles.el
@@ -92,6 +92,6 @@
              (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("subfile" "{"))
                              'reference)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; subfiles.el ends here
diff --git a/style/swedish.el b/style/swedish.el
index 442c3c9..1f1e994 100644
--- a/style/swedish.el
+++ b/style/swedish.el
@@ -12,4 +12,4 @@
           `("swedish" "''" ,TeX-close-quote ,TeX-quote-after-quote)))
    (setq LaTeX-babel-hyphen-language "swedish")
    (run-hooks 'TeX-language-sv-hook))
- LaTeX-dialect)
+ TeX-dialect)
diff --git a/style/tabularx.el b/style/tabularx.el
index 750e623..0dfcc7c 100644
--- a/style/tabularx.el
+++ b/style/tabularx.el
@@ -65,6 +65,6 @@
    ;; `tabularx.sty' adds one new column specification letter.
    (set (make-local-variable 'LaTeX-array-column-letters)
        (concat LaTeX-array-column-letters "X")))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; tabularx.el ends here
diff --git a/style/tabulary.el b/style/tabulary.el
index 7991438..c3f749b 100644
--- a/style/tabulary.el
+++ b/style/tabulary.el
@@ -62,6 +62,6 @@
    ;; `tabulary.sty' adds some new column specification letters.
    (set (make-local-variable 'LaTeX-array-column-letters)
        (concat LaTeX-array-column-letters "L" "C" "R" "J")))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; tabulary.el ends here
diff --git a/style/tarticle.el b/style/tarticle.el
index 43d047d..b76a187 100644
--- a/style/tarticle.el
+++ b/style/tarticle.el
@@ -38,6 +38,6 @@
  "tarticle"
  (lambda ()
    (TeX-run-style-hooks "jarticle" "plext"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; tarticle.el ends here
diff --git a/style/tbook.el b/style/tbook.el
index c6ba0fd..b84de7d 100644
--- a/style/tbook.el
+++ b/style/tbook.el
@@ -38,6 +38,6 @@
  "tbook"
  (lambda ()
    (TeX-run-style-hooks "jbook" "plext"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; tbook.el ends here
diff --git a/style/tcolorbox.el b/style/tcolorbox.el
index 7d30683..d2aa27a 100644
--- a/style/tcolorbox.el
+++ b/style/tcolorbox.el
@@ -697,7 +697,7 @@ e.g. \"tcolorboxlib-raster.el\"."
                                ("tcolorboxenvironment" "{{")
                                ("tcbsetmanagedlayer"   "{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-tcolorbox-package-options LaTeX-tcolorbox-library-list
   "Package options for the tcolorbox package.")
diff --git a/style/tcolorboxlib-raster.el b/style/tcolorboxlib-raster.el
index f8298fd..5b9ce57 100644
--- a/style/tcolorboxlib-raster.el
+++ b/style/tcolorboxlib-raster.el
@@ -195,6 +195,6 @@
              (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("tcbitem" "["))
                              'textual)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; tcolorboxlib-raster.el ends here
diff --git a/style/tex-live.el b/style/tex-live.el
index fc8d76a..9f1ca56 100644
--- a/style/tex-live.el
+++ b/style/tex-live.el
@@ -166,6 +166,6 @@
                              'italic-command)
      (font-latex-add-keywords '(("Ucom" "{"))
                              'bold-command)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; tex-live.el ends here
diff --git a/style/textpos.el b/style/textpos.el
index 0c0a8c1..5edff57 100644
--- a/style/textpos.el
+++ b/style/textpos.el
@@ -114,7 +114,7 @@ them."
 
    ;; Add the lengths defined by textpos.sty
    (LaTeX-add-lengths "TPHorizModule" "TPVertModule" "TPboxrulesize"))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-textpos-package-options
   '("showboxes" "noshowtext" "absolute" "overlay" "verbose" "quiet")
diff --git a/style/theorem.el b/style/theorem.el
index f271715..85c1566 100644
--- a/style/theorem.el
+++ b/style/theorem.el
@@ -171,7 +171,7 @@ make them available as new environments."
                                ("theorempreskipamount"  "{")
                                ("theorempostskipamount" "{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-theorem-package-options nil
   "Package options for the theorem package.")
diff --git a/style/thm-restate.el b/style/thm-restate.el
index cfdeb34..d9fa851 100644
--- a/style/thm-restate.el
+++ b/style/thm-restate.el
@@ -114,6 +114,6 @@
    (LaTeX-add-environments
     '("restatable"  LaTeX-env-args LaTeX-env-thmrestate-restatable)
     '("restatable*" LaTeX-env-args LaTeX-env-thmrestate-restatable)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; thm-restate.el ends here
diff --git a/style/thmtools.el b/style/thmtools.el
index 8de9c33..9e155d2 100644
--- a/style/thmtools.el
+++ b/style/thmtools.el
@@ -295,7 +295,7 @@ RefTeX users should customize or add ENVIRONMENT to
                                ("listoftheorems"       "[")
                                ("ignoretheorems"       "{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;; The package has only one option `debug'.  We ignore that in order
 ;; to make loading faster:
diff --git a/style/titleps.el b/style/titleps.el
index c53bee8..7e3a886 100644
--- a/style/titleps.el
+++ b/style/titleps.el
@@ -219,7 +219,7 @@ Removal is based on the return value of function
                                ("nextfloathead"        "*[[[{{{{[")
                                ("nextfloatfoot"        "*[[[{{{{["))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-titleps-package-options
   '(;; 4. Headline/footline width
diff --git a/style/titlesec.el b/style/titlesec.el
index 3e67546..3d0306c 100644
--- a/style/titlesec.el
+++ b/style/titlesec.el
@@ -222,7 +222,7 @@ insert the argument in brackets."
                                ("assignpagestyle"   "{{")
                                ("titleclass"        "{[{["))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-titlesec-package-options
   '(;; 2.1. Format
diff --git a/style/titletoc.el b/style/titletoc.el
index 2962397..09b6de4 100644
--- a/style/titletoc.el
+++ b/style/titletoc.el
@@ -189,7 +189,7 @@ Removal is based on the return value of function
                                ("contentsmargin"  "[{")
                                ("contentsuse"     "{{"))
                              'function)) )
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-titletoc-package-options
   '("leftlabels" "rightlabels" "dotinlabels")
diff --git a/style/transparent.el b/style/transparent.el
index 2741af2..5699794 100644
--- a/style/transparent.el
+++ b/style/transparent.el
@@ -50,7 +50,7 @@
                              'type-declaration)
      (font-latex-add-keywords '(("texttransparent" "{{"))
                              'type-command)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-transparent-package-options nil
   "Package options for the transparent package.")
diff --git a/style/treport.el b/style/treport.el
index 561c3e8..38438f2 100644
--- a/style/treport.el
+++ b/style/treport.el
@@ -38,6 +38,6 @@
  "treport"
  (lambda ()
    (TeX-run-style-hooks "jreport" "plext"))
- LaTeX-dialect)
+ TeX-dialect)
 
 ;;; treport.el ends here
diff --git a/style/ulem.el b/style/ulem.el
index 94a9179..438571e 100644
--- a/style/ulem.el
+++ b/style/ulem.el
@@ -64,7 +64,7 @@
                                ("uwave" "{")
                                ("sout" "{")
                                ("xout" "{")) 'textual)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-arg-fontdecl
   (mapcar (lambda (str) (concat "\\" str))
diff --git a/style/unicode-math.el b/style/unicode-math.el
index 7eb4dbb..a0b8a9f 100644
--- a/style/unicode-math.el
+++ b/style/unicode-math.el
@@ -70,7 +70,7 @@
      (font-latex-add-keywords '(("setmathfont" "[{")
                                ("unimathsetup" "{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-unicode-math-package-options ()
   "Prompt for package options for the unicode-math package."
diff --git a/style/units.el b/style/units.el
index c076853..76be79d 100644
--- a/style/units.el
+++ b/style/units.el
@@ -47,7 +47,7 @@
    (when (and (featurep 'font-latex)
              (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("unit" "[{") ("unitfrac" "[{{")) 'textual)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-units-package-options '("tight" "loose")
   "Package options for the units package.")
diff --git a/style/url.el b/style/url.el
index 8d468de..53708b8 100644
--- a/style/url.el
+++ b/style/url.el
@@ -92,7 +92,7 @@
                              'variable)
      ;; Tell font-lock about the update.
      (font-latex-set-syntactic-keywords)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun TeX-arg-urlstyle (optional &optional prompt)
   "Prompt for style used in \\urlstyle with completion."
diff --git a/style/varioref.el b/style/varioref.el
index 706375b..300aac5 100644
--- a/style/varioref.el
+++ b/style/varioref.el
@@ -94,7 +94,7 @@
    (and LaTeX-reftex-ref-style-auto-activate
        (fboundp 'reftex-ref-style-activate)
        (reftex-ref-style-activate "Varioref")))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-varioref-package-options
   '("afrikaans" "american" "arabic" "austrian" "naustrian" "basque"
diff --git a/style/verbatim.el b/style/verbatim.el
index 6ba337c..6ae6f60 100644
--- a/style/verbatim.el
+++ b/style/verbatim.el
@@ -54,7 +54,7 @@
                    (1 "!" t)))
      ;; Tell font-lock about the update.
      (font-latex-set-syntactic-keywords)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-verbatim-package-options nil
   "Package options for the verbatim package.")
diff --git a/style/virtex.el b/style/virtex.el
index 3f9690d..ae423c0 100644
--- a/style/virtex.el
+++ b/style/virtex.el
@@ -78,6 +78,6 @@
                     "voffset" "vrule" "vsize" "vskip" "vss" "vtop"
                     "wd" "widowpenalty" "write" "xdef" "xleaders"
                     "xspaceskip" "year"))
-  LaTeX-dialect)
+  TeX-dialect)
 
 ;;; virtex.el ends here
diff --git a/style/vwcol.el b/style/vwcol.el
index 3c7641a..057e8ba 100644
--- a/style/vwcol.el
+++ b/style/vwcol.el
@@ -68,7 +68,7 @@
              (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("vwcolsetup" "{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-vwcol-package-options '("quiet")
   "Package options for the vwcol package.")
diff --git a/style/wrapfig.el b/style/wrapfig.el
index a7fd716..9c2d840 100644
--- a/style/wrapfig.el
+++ b/style/wrapfig.el
@@ -110,7 +110,7 @@
            (unless (string= overhang "")
              (format "[%s]" overhang))
            (format "{%s}" width))))))))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-wrapfig-package-options '("verbose")
   "Package options for the wrapfig package.")
diff --git a/style/xcolor.el b/style/xcolor.el
index e56da7b..d8eb9ce 100644
--- a/style/xcolor.el
+++ b/style/xcolor.el
@@ -623,7 +623,7 @@ xcolor package.")
                                ("convertcolorspec"  "{{{{")
                                ("rowcolors"         "*[{{{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-xcolor-package-options
   '(;; options that determine the color driver
diff --git a/style/xkcdcolors.el b/style/xkcdcolors.el
index 70bcee7..dc20b70 100644
--- a/style/xkcdcolors.el
+++ b/style/xkcdcolors.el
@@ -997,7 +997,7 @@
    (TeX-run-style-hooks "xcolor")
    ;; Make the colors defined in xkcdcolors.sty available:
    (apply #'LaTeX-add-xcolor-definecolors LaTeX-xkcdcolors-colornames))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-xkcdcolors-package-options nil
   "Package options for the xkcdcolors package.")
diff --git a/style/xltabular.el b/style/xltabular.el
index 7e2576b..9a138c2 100644
--- a/style/xltabular.el
+++ b/style/xltabular.el
@@ -120,7 +120,7 @@ If SUPPRESS is non-nil, do not insert line break macro."
    (when (fboundp 'reftex-add-label-environments)
      (reftex-add-label-environments
       '(("xltabular" ?t nil nil caption)))))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-xltabular-package-options nil
   "Package options for the xltabular package.")
diff --git a/style/xparse.el b/style/xparse.el
index f75c16a..369e683 100644
--- a/style/xparse.el
+++ b/style/xparse.el
@@ -302,7 +302,7 @@ TYPE is one of the symobols mac or env."
                                ("ProvideDocumentEnvironment" "{{{{")
                                ("RenewDocumentEnvironment"   "{{{{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defun LaTeX-xparse-package-options ()
   "Read the xparse package options from the user."
diff --git a/style/xspace.el b/style/xspace.el
index 3d37cac..60b764f 100644
--- a/style/xspace.el
+++ b/style/xspace.el
@@ -50,7 +50,7 @@
                                ("xspaceaddexception" "{")
                                ("xspaceremoveexception" "{"))
                              'function)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-xspace-package-options nil
   "Package options for the xspace package.")
diff --git a/style/zlmtt.el b/style/zlmtt.el
index 7bc6fb6..8756d89 100644
--- a/style/zlmtt.el
+++ b/style/zlmtt.el
@@ -53,7 +53,7 @@
                                 ("monott"   "{")
                                 ("lctt"     "{"))
                               'type-command)))
- LaTeX-dialect)
+ TeX-dialect)
 
 (defvar LaTeX-zlmtt-package-options
   '("light" "l" "lightcondensed" "lc" "med" "m"
diff --git a/tex.el b/tex.el
index 1a22ef8..4c946cb 100644
--- a/tex.el
+++ b/tex.el
@@ -2780,6 +2780,13 @@ Used when checking if any files have changed."
 
 ;;; Style Files
 
+(define-obsolete-variable-alias 'LaTeX-dialect 'TeX-dialect "13.0")
+(defconst TeX-dialect :latex
+  "Default dialect for use with function `TeX-add-style-hook' for
+argument DIALECT-EXPR when the hook is to be run only on LaTeX
+file, or any mode derived thereof. See variable
+`TeX-style-hook-dialect'." )
+
 (defvar TeX-style-hook-list nil
   "List of TeX style hooks currently loaded.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]