From 21807e51f4897652649852aebd4e62acbf644f52 Mon Sep 17 00:00:00 2001 From: TEC Date: Mon, 25 Jan 2021 17:29:15 +0800 Subject: [PATCH] Try to prevent unused lexical variable warnings v2 --- org-pandoc-import-transient.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/org-pandoc-import-transient.el b/org-pandoc-import-transient.el index ea064fa..6de893b 100644 --- a/org-pandoc-import-transient.el +++ b/org-pandoc-import-transient.el @@ -163,8 +163,7 @@ Argument OPERATION is the file operation to be applied, and ARGS its arguments." (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)) + (ignore org-export-with-broken-links org-export-with-toc) ; Prevent "unused lexical variable" warnings (apply operation args) (when-let* ((file (nth 2 args)) (source-file (plist-get (cdr (assoc file org-pandoc-import-transient--files)) :source))