emacs-diffs
[Top][All Lists]
Advanced

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

master c4f49d7 3/7: * lisp/skeleton.el (skeleton-read): Silence compiler


From: Stefan Monnier
Subject: master c4f49d7 3/7: * lisp/skeleton.el (skeleton-read): Silence compiler warning
Date: Sun, 7 Mar 2021 19:07:35 -0500 (EST)

branch: master
commit c4f49d7609f63d6a8d7a57c7fc6cd14d9b0b9ab0
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * lisp/skeleton.el (skeleton-read): Silence compiler warning
---
 lisp/skeleton.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/skeleton.el b/lisp/skeleton.el
index 8a50fbe..c363fb2 100644
--- a/lisp/skeleton.el
+++ b/lisp/skeleton.el
@@ -290,7 +290,8 @@ i.e. we are handling the iterator of a subskeleton, returns 
empty string if
 user didn't modify input.
 While reading, the value of `minibuffer-help-form' is variable `help' if that
 is non-nil or a default string."
-  (let ((minibuffer-help-form (or (if (boundp 'help) (symbol-value 'help))
+  (with-suppressed-warnings ((lexical help)) (defvar help)) ;FIXME: Prefix!
+  (let ((minibuffer-help-form (or (bound-and-true-p help)
                                  (if recursive "\
 As long as you provide input you will insert another subskeleton.
 



reply via email to

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