auctex-commit
[Top][All Lists]
Advanced

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

[AUCTeX-commit] GNU AUCTeX branch, master, updated. 312dde394a49f5419c31


From: Tassilo Horn
Subject: [AUCTeX-commit] GNU AUCTeX branch, master, updated. 312dde394a49f5419c31044da4834309ba7f1554
Date: Wed, 20 Aug 2014 06:03:00 +0000

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  312dde394a49f5419c31044da4834309ba7f1554 (commit)
      from  e515ecd5da1ebada550cd8d62a2f48c569671d85 (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 312dde394a49f5419c31044da4834309ba7f1554
Author: Vincent Belaïche <address@hidden>
Date:   Wed Aug 20 08:00:50 2014 +0200

    Code cleanup and optimizations.
    
    * font-latex.el (font-latex-add-quotes): Code optimization: use
    '(add-to-list (make-local-variable (quote foo)) some-value)'
    instead of '(make-local-variable (quote foo)) (add-to-list 'foo
    some-value)' wherever possible.
    
    * bib-cite.el (bib-cite-minor-mode)
    (bib-cite-setup-highlight-mouse-keymap): Code optimization: use
    '(set (make-local-variable (quote foo)) some-value)' instead of
    '(make-local-variable (quote foo)) (setq foo some-value)' wherever
    possible.
    
    * latex.el (BibTeX-auto-store)
    (LaTeX-common-initialization): Ditto.
    
    * tex-info.el (TeX-texinfo-mode): Code optimization: use '(set
    (make-local-variable (quote foo)) some-value)' instead of
    '(make-local-variable (quote foo)) (setq foo some-value)' wherever
    possible. Add in style Texinfo standard macros '@acronym' and
    '@tie'.
    
    * tex.el (TeX-assoc-string) new defalias to work-around missing
    assoc-string in XEmacs.
    (TeX-unload-style): Code optimization: use 'TeX-assoc-string'
    instead of 'assoc' to search style in 'TeX-style-hook-list', and
    use delq on returned value of assoc-string for removing the style
    --- on the one hand delq will go through the whole list rather
    than stop after the first match like in original code, but on the
    other hand comparison are faster because eq instead of equal is
    used and we are working on assoc cell rather than on key, so less
    indirection, furthermore delq is C code. Anyway that make the code
    much smaller and easier to understand.
    (TeX-file-extensions): Add txi amongst extension of texinfo files,
    for consistency with info node '(texinfo) Minimum'
    (TeX-run-style-hooks): Code optimization: use 'TeX-assoc-string'
    instead of 'assoc' to search style in 'TeX-style-hook-list'.
    (VirTeX-common-initialization): Code optimization: use '(set
    (make-local-variable (quote foo)) some-value)' instead of
    '(make-local-variable (quote foo)) (setq foo some-value)' wherever
    possible.
    
    Signed-off-by: Tassilo Horn <address@hidden>

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

Summary of changes:
 ChangeLog     |   42 +++++++++++++++++++++++++++
 bib-cite.el   |    6 +--
 font-latex.el |    5 +--
 latex.el      |   39 ++++++++-----------------
 tex-info.el   |   87 +++++++++++++++++++++++----------------------------------
 tex.el        |   52 ++++++++++++++-------------------
 6 files changed, 116 insertions(+), 115 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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