Try to prevent unused lexical variable warnings

This commit is contained in:
TEC 2021-01-25 17:01:31 +08:00
parent 496cbadec1
commit c0aac08496
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 2 additions and 0 deletions

View File

@ -161,6 +161,8 @@ that the curret file is indeed a transient conversion."
(let ((org-pandoc-import-transient--currently-processing t)
(org-export-with-broken-links t)
(org-export-with-toc nil))
(eval-when-compile ; prevent "unused lexical variable" warnings
(ignore org-export-with-broken-links org-export-with-toc))
(apply operation args)
(when-let* ((file (nth 2 args))
(source-file (plist-get (cdr (assoc file org-pandoc-import-transient--files)) :source))