Function: vc-dir-next-directory
vc-dir-next-directory is an interactive and byte-compiled function
defined in vc-dir.el.gz.
Signature
(vc-dir-next-directory)
Documentation
Go to the next directory.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-dir.el.gz
(defun vc-dir-next-directory ()
"Go to the next directory."
(interactive)
(let ((orig (point)))
(if
(catch 'foundit
(while t
(let* ((next (ewoc-next vc-ewoc (ewoc-locate vc-ewoc))))
(cond ((not next)
(throw 'foundit t))
(t
(progn
(ewoc-goto-node vc-ewoc next)
(vc-dir-move-to-goal-column)
(if (vc-dir-fileinfo->directory (ewoc-data next))
(throw 'foundit nil))))))))
(goto-char orig))))