> I am getting the error `(void-function closure)` on Emacs 29.4 (but not
[...]
> (apply `(eval . ((apply #'preview-arrived-via
>                    (mapcar ,(lambda (cmd)
>                               (if (and (listp cmd) (eq (car cmd) 
> 'key-binding))
>                                   (eval cmd t)
>                                 cmd))
>                            preview-auto-reveal-commands))
>             t)))

Indeed, in Emacs<30, function values are not always self-quoting, so you
need a quote before the comma.
[ note: the problem should disappear if you compile the file, because
  compiled function values *are* self-quoting even in Emacs<30.  ]


        Stefan




_______________________________________________
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