From 1cf03f290bd02082c2ffa25a9adf27203334d36c Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 29 Apr 2021 18:03:51 -0400 Subject: [PATCH] * lisp/mail/supercite.el (sc-select-attribution): Fix lexical conversion Mark `citation` and `attribution` as dynamically scoped around `sc-attribs-postselect-hook`, as documented in the function's docstring. --- lisp/mail/supercite.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/mail/supercite.el b/lisp/mail/supercite.el index dc1c641052b..d545b0c3f15 100644 --- a/lisp/mail/supercite.el +++ b/lisp/mail/supercite.el @@ -1128,6 +1128,8 @@ selection but before querying is performed. During auto-selected citation string and the variable `attribution' is bound to the auto-selected attribution string." (run-hooks 'sc-attribs-preselect-hook) + (with-suppressed-warnings ((lexical citation attribution)) + (defvar citation) (defvar attribution)) (let ((query-p sc-confirm-always-p) attribution citation (attriblist sc-preferred-attribution-list)) -- 2.39.5