summaryrefslogtreecommitdiff
path: root/elisp/geiser-base.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2023-12-15 22:29:47 +0100
committerJonas Bernoulli <jonas@bernoul.li>2023-12-15 22:34:19 +0100
commit9cad7e90a4cdb22b35b01f682fcb8bba641b0a93 (patch)
tree64c889729ee24b5f5fdfe9912e9571275786f74c /elisp/geiser-base.el
parentbecd65549a6cb5f1ff22244fc61c6e2d7409028a (diff)
downloadgeiser-9cad7e90a4cdb22b35b01f682fcb8bba641b0a93.tar.gz
geiser-9cad7e90a4cdb22b35b01f682fcb8bba641b0a93.tar.bz2
Silence byte-compiler
`dotimes' has a defect (and a fixme which is over a decade old) that causes a bogus (though technically correct) warning about VAR being unused, if RESULT is not omitted but does not use VAR.
Diffstat (limited to 'elisp/geiser-base.el')
-rw-r--r--elisp/geiser-base.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-base.el b/elisp/geiser-base.el
index 134a3f4..6d6277f 100644
--- a/elisp/geiser-base.el
+++ b/elisp/geiser-base.el
@@ -20,7 +20,7 @@
'(when (not (fboundp 'ring-member))
(defun ring-member (ring item)
(catch 'found
- (dotimes (ind (ring-length ring) nil)
+ (dotimes (ind (ring-length ring))
(when (equal item (ring-ref ring ind))
(throw 'found ind)))))))