From 4d2b3bcd038ffea4a2951cdc2735a904fc875e3a Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 15 Jun 2019 16:59:21 +0200 Subject: Suppress compilation warning in supercite.el * lisp/mail/supercite.el (curline): Suppress warning about non-prefixed variable used by forms in the `sc-mail-glom-frame' variable. --- lisp/mail/supercite.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lisp/mail/supercite.el') diff --git a/lisp/mail/supercite.el b/lisp/mail/supercite.el index ad69dca8c43..ce00a7cf665 100644 --- a/lisp/mail/supercite.el +++ b/lisp/mail/supercite.el @@ -702,7 +702,11 @@ the list should be unique." "Regi frame for glomming mail header information.") (put 'sc-mail-glom-frame 'risky-local-variable t) -(defvar curline) ; dynamic bondage +;; This variable is bound dynamically before calling the forms in the +;; `sc-mail-glom-frame' variable, and is part of the advertised +;; interface. +(with-suppressed-warnings ((lexical curline)) + (defvar curline)) ;; regi functions -- cgit v1.2.3