* `cycle': when moving from the last/first visible line, cycle back
to the first/last visible line.
* `bounded': don't move up/down if the current line is the
- first/last visible line."
+ first/last visible line.
+Any other non-nil value is treated as `bounded'."
:type '(choice (const :tag "Move to any line" nil)
(const :tag "Cycle through non-empty lines" cycle)
(const :tag "Stop on last/first non-empty line" bounded))
(point-max))))
(setq wrapped t))
;; `bounded': go back to the last non-empty line.
- ((eq dired-movement-style 'bounded)
+ (dired-movement-style ; Either 'bounded or anything else non-nil.
(while (and (dired-between-files) (not (zerop arg)))
(funcall jumpfun (- moving-down))
;; Point not moving means infinite loop.