auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] GNU AUCTeX branch, master, updated. fa1daf8cf4c624dc1


From: Mosè Giordano
Subject: Re: [AUCTeX-devel] GNU AUCTeX branch, master, updated. fa1daf8cf4c624dc17f584d821f774527579cc97
Date: Tue, 11 Mar 2014 20:35:25 +0100

Hi Tassilo,

> - Log -----------------------------------------------------------------
> commit fa1daf8cf4c624dc17f584d821f774527579cc97
> Author: Tassilo Horn <tsdh <at> gnu.org>
> 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
>  <at>  <at>  -1,5 +1,8  <at>  <at>
>  2014-03-11  Tassilo Horn  <tsdh <at> gnu.org>
>
> +    * 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
>  <at>  <at>  -1900,7 +1900,7  <at>  <at>  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
>
> -----------------------------------------------------------------------

Why this change?  My `completing-read-multiple' never returns nil, if
no input is inserted it returns `("")' which isn't nil.  Am I missing
something?  I'm running GNU Emacs 24.3, if that helps.

Bye,
Mosè



reply via email to

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