Function: dired--trivial-next-line

dired--trivial-next-line is a byte-compiled function defined in dired.el.gz.

Signature

(dired--trivial-next-line ARG)

Documentation

Move down ARG lines, then position at filename.

Source Code

;; Defined in /usr/src/emacs/lisp/dired.el.gz
(defun dired--trivial-next-line (arg)
  "Move down ARG lines, then position at filename."
  (let ((line-move-visual)
        (goal-column))
    (line-move arg t))
  ;; We never want to move point into an invisible line.
  (while (and (invisible-p (point))
              (not (if (and arg (< arg 0)) (bobp) (eobp))))
    (forward-char (if (and arg (< arg 0)) -1 1)))
  (dired-move-to-filename))