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: hugo
Subject: Re: [PATCH] use `t' to support all modes in `TeX-doc-backend-alist'
Date: Wed, 12 Feb 2025 10:00:45 +0000
User-agent: Roundcube Webmail/1.6.9

Hi Ikumi,

On 2025-02-12 09:47, Ikumi Keita wrote:
I basically agree with your idea to use symbol `t` for "all modes". In
that case it isn't much meaningful to "add" t to the mode list; the rest of the elements are totally useless. Instead of a list, we can just have
a single `t' for that purpose. Then we can simplify the conditional as
(or (eq t (nth 1 elt)
    (memq major-mode (nth 1 elt))
How about this idea? (If you are fine with it, please adjust the doc
string as well.)

Completely agree. New patch attached.

Hugo

Attachment: 0001-Allow-t-in-TeX-doc-backend-alist-to-mean-use-in-all-.patch
Description: Text Data


reply via email to

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