[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 6b5f00bf: Unquote lambdas in font-latex.el & tex-bar.el; add
From: |
David Kastrup |
Subject: |
Re: master 6b5f00bf: Unquote lambdas in font-latex.el & tex-bar.el; add some FIXMEs |
Date: |
Tue, 30 Aug 2022 11:59:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
David Kastrup <dak@gnu.org> writes:
>> The list-strings variable is let-bound around the complete defconst
>> LaTeX-symbols-toolbar-switch-contents. I guess it should become
>> (quote ("foo" "bar" "baz")) instead of (quote \, list-strings). Stefan,
>> what's the issue here?
>
> This looks like it should rather rely on lexical-binding being t and
> write
>
> :help (lambda (&rest _ignore)
> (concat "Turn "
> (if LaTeX-symbols-toolbar-visible-flag "off " "on ")
> "the toolbar of LaTeX symbols (current class: "
> (nth (1- LaTeX-symbols-active-menuitem)
> list-strings)
> ")")))
Wait, I was thinking of `(lambda ...) but you quoted ,(lambda ...). So
this apparently already was in quasi-quoted context. So the , before
(lambda) likely needs to remain, but list-strings likely has to become
un-commaed.
--
David Kastrup