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. fa1daf8cf4c624dc17f58


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. fa1daf8cf4c624dc17f584d821f774527579cc97
Date: Tue, 11 Mar 2014 14:54:36 +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  fa1daf8cf4c624dc17f584d821f774527579cc97 (commit)
      from  4a811e5c41833f3aea7b14b579db3f87c00d933e (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 fa1daf8cf4c624dc17f584d821f774527579cc97
Author: Tassilo Horn <address@hidden>
Date:   Tue Mar 11 15:54:03 2014 +0100

    Fix bug causing endless package queries.
    
    * latex.el (LaTeX-arg-usepackage-read-packages-with-options): Fix
    bug that caused AUCTeX to query for packages infinitely.

diff --git a/ChangeLog b/ChangeLog
index 60569e5..145ab10 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-03-11  Tassilo Horn  <address@hidden>
 
+       * latex.el (LaTeX-arg-usepackage-read-packages-with-options): Fix
+       bug that caused AUCTeX to query for packages infinitely.
+
        * context.el (ConTeXt-add-environments): Advice instead of
        renaming and redefining generated function.
 
diff --git a/latex.el b/latex.el
index 2da1b24..69e8760 100644
--- a/latex.el
+++ b/latex.el
@@ -1900,7 +1900,7 @@ of the options, nil otherwise."
     (mapc 'TeX-run-style-hooks packages)
     ;; Prompt for options only if at least one package has been supplied, 
return
     ;; nil otherwise.
-    (unless (equal packages '(""))
+    (when packages
       (setq var (if (= 1 (length packages))
                    (intern (format "LaTeX-%s-package-options" (car packages)))
                  ;; Something like `\usepackage[options]{pkg1,pkg2,pkg3,...}' 
is

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

Summary of changes:
 ChangeLog |    3 +++
 latex.el  |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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