[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex a5c2dd9 61/62: Document lexical binding changes.
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex a5c2dd9 61/62: Document lexical binding changes. |
Date: |
Sun, 20 Dec 2020 10:40:07 -0500 (EST) |
branch: externals/auctex
commit a5c2dd9977ad9aefc36e4958f68ed648ec5dea1a
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>
Document lexical binding changes.
* doc/changes.texi: Document lexical binding changes.
---
doc/changes.texi | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/doc/changes.texi b/doc/changes.texi
index 41f0b1e..be0d1cd 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -12,6 +12,44 @@
@itemize @bullet
@item
+@AUCTeX{} now uses lexical binding which has been introduced in Emacs
+24. This change should have no user-visible effect and require no
+manual adaptions except in the following cases.
+
+@itemize @bullet
+@item
+Entries added to the customization variable @code{TeX-expand-list} also
+had access to variables @code{command} and @code{pos}. Those are now
+properly declared and named @code{TeX-expand-command} and
+@code{TeX-expand-pos}.
+
+@item
+Entries added to the customization variable @code{TeX-expand-list} had
+access to a variable @code{file} which was bound to
+@code{TeX-active-master}, i.e., it evaluated to either the master or
+region file. This usage must be replaced with either
+@code{TeX-active-master} or @code{TeX-active-master-with-quotes}.
+
+@item
+Viewer entries in @code{TeX-view-program-list} also had access to a
+variable @code{file} which was bound to the name of the master or region
+file without extension. Instead, the function @code{TeX-active-master}
+has to be used now.
+
+@item
+Macro argument parsing functions could set a variable @code{exit-mark}
+to the buffer position where point should be left after all arguments
+have been read. This variable is now named @code{TeX-exit-mark}.
+
+@item
+The functions in @code{LaTeX-section-hook} had access or modified the
+previously undeclared variables @code{title}, @code{name}, @code{level},
+@code{done-mark}, and @code{toc}. These variables are now properly
+declared and have the @code{LaTeX-} prefix, e.g.,
+@code{LaTeX-done-mark}.
+@end itemize
+
+@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.
- [elpa] externals/auctex b41e063 62/62: Merge remote-tracking branch 'origin/master' into externals/auctex, (continued)
- [elpa] externals/auctex b41e063 62/62: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 49e798b 42/62: ; Fix byte-compiler warnings in styles, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 596e8ba 48/62: ; Fix byte-compile warnings in styles, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 352de40 50/62: ; Fix byte-compile warnings in styles, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex ec263fc 54/62: ; Fix byte-compile warnings, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex b5b29a8 55/62: ; Remove duplicate require's of tex.el, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex e8528e0 56/62: Update style/subfiles.el to package version 2.1, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 3db4ed7 58/62: ; * tex-bar.el: Enable lexical binding., Tassilo Horn, 2020/12/20
- [elpa] externals/auctex a92fe0b 59/62: Add new style/scholax.el, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex b6a3005 60/62: Fix compile "Error: symbol-value cannot use lexical var ‘amsenv’", Tassilo Horn, 2020/12/20
- [elpa] externals/auctex a5c2dd9 61/62: Document lexical binding changes.,
Tassilo Horn <=