Function: vc-dir-delete-file

vc-dir-delete-file is an interactive and byte-compiled function defined in vc-dir.el.gz.

Signature

(vc-dir-delete-file)

Documentation

Delete the marked files, or the current file if no marks.

The files will also be marked as deleted in the version control system.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-dir.el.gz
(defun vc-dir-delete-file ()
  "Delete the marked files, or the current file if no marks.
The files will also be marked as deleted in the version control
system."
  (interactive)
  (vc-delete-file (or (vc-dir-marked-files) (vc-dir-current-file))))