805 |
(motion (if (> arg 0) 1 -1)) |
(motion (if (> arg 0) 1 -1)) |
806 |
(n (mod (- (or start (eshell-search-start arg)) motion) len)) |
(n (mod (- (or start (eshell-search-start arg)) motion) len)) |
807 |
(tried-each-ring-item nil) |
(tried-each-ring-item nil) |
808 |
(case-fold-search (eshell-under-windows-p)) |
(case-fold-search (or (eshell-under-windows-p) |
809 |
|
(eshell-under-cygwin-p))) |
810 |
(prev nil)) |
(prev nil)) |
811 |
;; Do the whole search as many times as the argument says. |
;; Do the whole search as many times as the argument says. |
812 |
(while (and (/= arg 0) (not tried-each-ring-item)) |
(while (and (/= arg 0) (not tried-each-ring-item)) |