branch: externals/ivy-hydra
commit 0ecc41c7065cd6d448b110a9fdf7fa4f5a9e1bfa
Author: Basil L. Contovounesios <conto...@tcd.ie>
Commit: Basil L. Contovounesios <conto...@tcd.ie>

    * ivy.el (ivy-occur-next-error): Use dolist.
---
 ivy.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ivy.el b/ivy.el
index 3abf486..69769f6 100644
--- a/ivy.el
+++ b/ivy.el
@@ -4997,8 +4997,8 @@ When `ivy-calling' isn't nil, call `ivy-occur-press'."
   (let ((ivy-calling t))
     (cond ((< n 0) (ivy-occur-previous-line (- n)))
           (t (ivy-occur-next-line n))))
-  ;; the window's point overrides the buffer's point every time it's 
redisplayed
-  (cl-dolist (window (get-buffer-window-list nil nil t))
+  ;; The window's point overrides the buffer's point every time it's 
redisplayed
+  (dolist (window (get-buffer-window-list nil nil t))
     (set-window-point window (point))))
 
 (define-derived-mode ivy-occur-mode fundamental-mode "Ivy-Occur"

Reply via email to