emacs-devel
[Top][All Lists]
Advanced

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

Re: master 4e4b76b: Make info-look try to use more recent Python manual


From: Stefan Monnier
Subject: Re: master 4e4b76b: Make info-look try to use more recent Python manual
Date: Thu, 12 Aug 2021 12:20:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen [2021-08-12 11:20:43] wrote:

> branch: master
> commit 4e4b76b094105d704933a94c95c2d4c0af6549b9
> Author: Lars Ingebrigtsen <larsi@gnus.org>
> Commit: Lars Ingebrigtsen <larsi@gnus.org>
>
>     Make info-look try to use more recent Python manual
>     
>     * lisp/info-look.el: Use the Debian-installed python3.9 manual if
>     it exists (bug#31405).
> ---
>  lisp/info-look.el | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/lisp/info-look.el b/lisp/info-look.el
> index 72de0a4..72db4f0 100644
> --- a/lisp/info-look.el
> +++ b/lisp/info-look.el
> @@ -902,7 +902,9 @@ Return nil if there is nothing appropriate in the buffer 
> near point."
>  
>  (info-lookup-maybe-add-help
>   :mode 'python-mode
> - :doc-spec '(("(python)Index")))
> + :doc-spec `((,(if (Info-find-file "(python3.9)Index" t)
> +                   "(python3.9)Index"
> +                 "(python)Index"))))

WIBNI we could move this setting to python.el?


        Stefan




reply via email to

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