Hi all, Robert sent a patch[1] which pacifies emacs-30 compiler warning. He missed one which is fixed by the patch below. It is against org-mode master (6b15897a56).
Footnotes: [1] https://lists.gnu.org/archive/html/emacs-orgmode/2023-01/msg00743.html Best, Arash --8<---------------cut here---------------start------------->8--- diff --git a/lisp/ox.el b/lisp/ox.el index ebf89bb..4c84686 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -6683,14 +6683,14 @@ see. Optional argument POST-PROCESS is a function which should accept no argument. It is always called within the current process, from BUFFER, with point at its beginning. Export back-ends can -use it to set a major mode there, e.g, +use it to set a major mode there, e.g., (defun org-latex-export-as-latex (&optional async subtreep visible-only body-only ext-plist) (interactive) (org-export-to-buffer \\='latex \"*Org LATEX Export*\" async subtreep visible-only body-only ext-plist - #'LaTeX-mode)) + #\\='LaTeX-mode)) When expressed as an anonymous function, using `lambda', POST-PROCESS needs to be quoted. --8<---------------cut here---------------end--------------->8---