auctex-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] use `t' to support all modes in `TeX-doc-backend-alist'


From: Arash Esbati
Subject: Re: [PATCH] use `t' to support all modes in `TeX-doc-backend-alist'
Date: Wed, 12 Feb 2025 12:15:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Hi Hugo,

hugo@heagren.com writes:

> Sorry! Missed a bracket and the last patch was slightly wrong!
>
> Correct patch attached this time!

Thanks for preparing the patch, my only comment is that the symbols t
and nil are never inside `quotes'[1].  Maybe you could update that as
well.

TIA.  Best, Arash

> From ea8e86f4a721902df4f83cc996d8bbd66fc72db7 Mon Sep 17 00:00:00 2001
> From: Hugo Heagren <hugo@heagren.com>
> Date: Tue, 11 Feb 2025 11:10:09 +0000
> Subject: [PATCH] Allow `t' in `TeX-doc-backend-alist' to mean `use in all
                         ^ ^
>  modes'
>
> * tex.el (TeX-doc): Support using `t' in `TeX-doc-backend-alist'
                                    ^ ^
> backend mode list to mean that a backend should be available in all
> modes.
> (TeX-doc-backend-alist): Document change.
> ---
>  tex.el | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/tex.el b/tex.el
> index 59a3314..ba41ea6 100644
> --- a/tex.el
> +++ b/tex.el
> @@ -6715,7 +6715,8 @@ (defvar TeX-doc-backend-alist
>  
>  The first is a symbol describing the backend's name.
>  
> -The second is a list of modes the backend should be activated in.
> +The second is either a list of modes the backend should be activated in,
> +or the symbol `t', which stands for all modes.
                 ^ ^
Footnotes:
[1]  
https://www.gnu.org/software/emacs/manual/html_node/elisp/Documentation-Tips.html



reply via email to

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