|
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". Inthat 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 havea 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
0001-Allow-t-in-TeX-doc-backend-alist-to-mean-use-in-all-.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |