auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. a5c2dd9977ad9aefc36e4


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. a5c2dd9977ad9aefc36e4958f68ed648ec5dea1a
Date: Fri, 18 Dec 2020 15:12:51 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  a5c2dd9977ad9aefc36e4958f68ed648ec5dea1a (commit)
      from  b6a30058b0b6a83c3f036b0109ddfbfe17d2070c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a5c2dd9977ad9aefc36e4958f68ed648ec5dea1a
Author: Tassilo Horn <tsdh@gnu.org>
Date:   Fri Dec 18 21:12:30 2020 +0100

    Document lexical binding changes.
    
    * doc/changes.texi: Document lexical binding changes.

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.

-----------------------------------------------------------------------

Summary of changes:
 doc/changes.texi | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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