Function: vc-dir--before-dotname-p
vc-dir--before-dotname-p is a byte-compiled function defined in
vc-dir.el.gz.
Signature
(vc-dir--before-dotname-p)
Documentation
Return non-nil if point is before the "./" entry.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-dir.el.gz
;; By design the vc-dir-next-* commands move point from the current
;; entry to the next one of the same type. But for technical reasons
;; any buffer position before the "./" entry is part of that entry, so
;; there is no previous entry from which to move via vc-dir-next-* to
;; this entry. But from the UX perspective such movement is natural, so
;; we enable it by making these commands move point directly to the "./"
;; entry (instead of the "next" one) whenever point is before this
;; entry, as determined by the following function. See bug#81248 for
;; further details.
(defun vc-dir--before-dotname-p ()
"Return non-nil if point is before the \"./\" entry."
(< (point) (ewoc-location (ewoc-nth vc-ewoc 0))))