emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 4d2b3bc 3/3: Suppress compilation warning in superc


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 4d2b3bc 3/3: Suppress compilation warning in supercite.el
Date: Sat, 15 Jun 2019 10:59:44 -0400 (EDT)

branch: master
commit 4d2b3bcd038ffea4a2951cdc2735a904fc875e3a
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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(-)

diff --git a/lisp/mail/supercite.el b/lisp/mail/supercite.el
index ad69dca..ce00a7c 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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]