On 09/12/2025, David Kastrup wrote:
> Does preceding ,(lambda ...) with #' help?  That would add a
> function-quote around the finished closure.  Which should really not do
> anything in this context, but then we should not be getting this error
> in the first place.

Yes indeed. Adding ' or #' before the comma resolves the issue on Emacs
29.4. It also doesn't break Emacs 31.0.50, even though 

`(eval . ((apply #'ignore (mapcar #',(lambda (cmd) nil) nil)) t))

produces an additional quote on Emacs 31.0.50, as in:

(eval (apply #'ignore (mapcar #'#[(cmd) (nil) (t)] nil)) t)

compared to.
`(eval . ((apply #'ignore (mapcar ,(lambda (cmd) nil) nil)) t))

which gives
(eval (apply #'ignore (mapcar #[(cmd) (nil) (t)] nil)) t)

Can someone with write access to AUCTeX make this change to
`preview-auto-reveal`?

-- Al



_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex
  • bug#79975:... Al Haji-Ali
    • bug#7... Stefan Monnier via bug-auctex via Bug reporting list for AUCTeX
    • bug#7... David Kastrup
      • b... Al Haji-Ali
        • ... Arash Esbati
          • ... Al Haji-Ali
            • ... Arash Esbati

Reply via email to