David Kastrup <d...@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