Function: vc-dir-unmark-file-up
vc-dir-unmark-file-up is an interactive and byte-compiled function
defined in vc-dir.el.gz.
Signature
(vc-dir-unmark-file-up)
Documentation
Move to the previous line and unmark the file.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-dir.el.gz
(defun vc-dir-unmark-file-up ()
"Move to the previous line and unmark the file."
(interactive)
;; If we're on the first line, we won't move up, but we will still
;; remove the mark. This seems a bit odd but it is what buffer-menu
;; does.
(let* ((prev (ewoc-goto-prev vc-ewoc 1))
(file (ewoc-data prev)))
(setf (vc-dir-fileinfo->marked file) nil)
(ewoc-invalidate vc-ewoc prev)
(vc-dir-move-to-goal-column)))