emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/cider 6426b9174f 2/3: Use lexical scoping


From: ELPA Syncer
Subject: [nongnu] elpa/cider 6426b9174f 2/3: Use lexical scoping
Date: Thu, 30 Dec 2021 04:58:19 -0500 (EST)

branch: elpa/cider
commit 6426b9174f282e9c0400319b4c7185d8b63692b5
Author: Bozhidar Batsov <bozhidar@batsov.dev>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>

    Use lexical scoping
---
 cider-util.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/cider-util.el b/cider-util.el
index 083181ab0d..2599d5d652 100644
--- a/cider-util.el
+++ b/cider-util.el
@@ -692,8 +692,10 @@ through a stack of help buffers.  Variables 
`help-back-label' and
 
 (defun cider-random-words-of-inspiration ()
   "Select a random entry from `cider-words-of-inspiration'."
+  ;; FIXME: Consider removing this eval.
   (eval (nth (random (length cider-words-of-inspiration))
-             cider-words-of-inspiration)))
+             cider-words-of-inspiration)
+        t))
 
 (defvar cider-tips
   '("Press <\\[cider-connect]> to connect to a running nREPL server."



reply via email to

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