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

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

[nongnu] elpa/with-simulated-input c377a673c8 127/134: Prefix unused var


From: ELPA Syncer
Subject: [nongnu] elpa/with-simulated-input c377a673c8 127/134: Prefix unused variables with underscores
Date: Mon, 10 Jan 2022 23:00:13 -0500 (EST)

branch: elpa/with-simulated-input
commit c377a673c86cdedd5d48418caf8f1ce621aca767
Author: Ryan C. Thompson <rct@thompsonclan.org>
Commit: Ryan C. Thompson <rct@thompsonclan.org>

    Prefix unused variables with underscores
    
    This stops the byte-compiler from complaining.
---
 with-simulated-input.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/with-simulated-input.el b/with-simulated-input.el
index 6ba380a75d..32c0375511 100644
--- a/with-simulated-input.el
+++ b/with-simulated-input.el
@@ -131,8 +131,8 @@ arguments."
     ((pred atom) t)
     ((pred functionp) t)
     ;; Quoted expressions are constant
-    (`(quote ,x) t)
-    (`(function ,x) t)))
+    (`(quote ,_x) t)
+    (`(function ,_x) t)))
 
 (defsubst wsi--looks-pure-p (expr)
   "Return non-nil if EXPR looks like a pure expression.



reply via email to

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