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

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

[nongnu] elpa/popup 7743199 075/184: Remove meaningless let.


From: ELPA Syncer
Subject: [nongnu] elpa/popup 7743199 075/184: Remove meaningless let.
Date: Wed, 6 Oct 2021 00:01:10 -0400 (EDT)

branch: elpa/popup
commit 7743199800719b074c4ae563ff37e869d8eb379d
Author: kostafey <kostafey@gmail.com>
Commit: kostafey <kostafey@gmail.com>

    Remove meaningless let.
---
 popup.el | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/popup.el b/popup.el
index 875fa6d..2eba784 100644
--- a/popup.el
+++ b/popup.el
@@ -835,16 +835,14 @@ KEYMAP is a keymap that will be put on the popup 
contents."
 (defun popup-page-next (popup)
   "Select next item of POPUP per `popup-height' range.
 Pages down through POPUP."
-  (let ((counter 0))
-    (dotimes (counter (1- (popup-height popup)))
-      (popup-next popup))))
+  (dotimes (counter (1- (popup-height popup)))
+    (popup-next popup)))
 
 (defun popup-page-previous (popup)
   "Select previous item of POPUP per `popup-height' range.
 Pages up through POPUP."
-  (let ((counter 0))
-    (dotimes (counter (1- (popup-height popup)))
-      (popup-previous popup))))
+  (dotimes (counter (1- (popup-height popup)))
+    (popup-previous popup)))
 
 (defun popup-scroll-down (popup &optional n)
   "Scroll down N of POPUP and draw."



reply via email to

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