]> git.eshelyaron.com Git - emacs.git/commitdiff
Another longstanding to-do: bind vc-delete-file.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 2 Dec 2014 10:31:04 +0000 (05:31 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 2 Dec 2014 10:31:04 +0000 (05:31 -0500)
lisp/ChangeLog
lisp/vc/vc-hooks.el
lisp/vc/vc.el

index d005cbef920b6217cfbe337405a3ccc9780f1c69..6ffdd0adc0653487555ab48efda1eedd02fc35a8 100644 (file)
@@ -1,5 +1,11 @@
 2014-12-02  Eric S. Raymond  <esr@snark.thyrsus.com>
 
+       * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
+
+       * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
+       improving behavior on directories using multiple file-oriented
+       VCSes.
+
        * vc/vc.el and all backends: API simplification; clear-headers
        is no longer a public method.  It is now local to the one place
        it's used, in the RCS steal-lock method.
index c4acef95e9ec6bdb30c7b958076447915c013329..61918c9886e6d155c532876527737160204ae553 100644 (file)
@@ -893,6 +893,7 @@ current, and kill the buffer that visits the link."
     (define-key map "=" 'vc-diff)
     (define-key map "D" 'vc-root-diff)
     (define-key map "~" 'vc-revision-other-window)
+    (define-key map "[delete]" 'vc-delete-file)
     map))
 (fset 'vc-prefix-map vc-prefix-map)
 (define-key ctl-x-map "v" 'vc-prefix-map)
index ad3a2c4973573bf4610dd56f10591a13b3874073..1b82bfd939d967d92b913190be30dc5b26039de0 100644 (file)
 
 ;;; Todo:
 
-;; - Add key-binding for vc-delete-file.
-
 ;;;; New Primitives:
 ;;
 ;; - deal with push operations.
 ;;
 ;;;; Primitives that need changing:
 ;;
-;; - vc-update/vc-merge should deal with VC systems that don't
+;; - vc-update/vc-merge should deal with VC systems that don't do
 ;;   update/merge on a file basis, but on a whole repository basis.
 ;;   vc-update and vc-merge assume the arguments are always files,
 ;;   they don't deal with directories.  Make sure the *vc-dir* buffer