diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d005cbef920b6217cfbe337405a3ccc9780f1c69..6ffdd0adc0653487555ab48efda1eedd02fc35a8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,11 @@ 2014-12-02 Eric S. Raymond + * 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. diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el index c4acef95e9ec6bdb30c7b958076447915c013329..61918c9886e6d155c532876527737160204ae553 100644 --- a/lisp/vc/vc-hooks.el +++ b/lisp/vc/vc-hooks.el @@ -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) diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index ad3a2c4973573bf4610dd56f10591a13b3874073..1b82bfd939d967d92b913190be30dc5b26039de0 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el @@ -602,15 +602,13 @@ ;;; 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