Commit 1f1f7a06 authored by Syohei YOSHIDA's avatar Syohei YOSHIDA

refactoring #80

parent dcc9ee52
......@@ -1384,8 +1384,8 @@ If `INITIAL-INDEX' is non-nil, this is an initial index value for
(popup-jump menu cursor)
(popup-draw menu))
(when initial-index
(dotimes (counter (min (- (length list) 1) initial-index))
(popup-next menu)))
(dotimes (_i (min (- (length list) 1) initial-index))
(popup-next menu)))
(if nowait
menu
(popup-menu-event-loop menu keymap fallback
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment