diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-04-29 18:03:51 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-04-29 18:03:51 -0400 |
commit | 1cf03f290bd02082c2ffa25a9adf27203334d36c (patch) | |
tree | 37cc51de74bc086c7ac27d8b41a12355272095e7 /lisp/mail | |
parent | 39ebc2689b5475c31ff8a825b872be93bbf32602 (diff) | |
download | emacs-1cf03f290bd02082c2ffa25a9adf27203334d36c.tar.gz emacs-1cf03f290bd02082c2ffa25a9adf27203334d36c.tar.bz2 emacs-1cf03f290bd02082c2ffa25a9adf27203334d36c.zip |
* 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.
Diffstat (limited to 'lisp/mail')
-rw-r--r-- | lisp/mail/supercite.el | 2 |
1 files changed, 2 insertions, 0 deletions
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)) |