aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond2014-12-02 05:31:04 -0500
committerEric S. Raymond2014-12-02 05:31:04 -0500
commite6fe301afe4bbc707d2fde44a5250b84418d2b1b (patch)
tree90c79f8671aa6fbc122859e63a047455dee89e56
parent92411a0d2e8a78e2eb05fa26e8a9bd978d5e01fe (diff)
downloademacs-e6fe301afe4bbc707d2fde44a5250b84418d2b1b.tar.gz
emacs-e6fe301afe4bbc707d2fde44a5250b84418d2b1b.zip
Another longstanding to-do: bind vc-delete-file.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/vc/vc-hooks.el1
-rw-r--r--lisp/vc/vc.el4
3 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d005cbef920..6ffdd0adc06 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,11 @@
12014-12-02 Eric S. Raymond <esr@snark.thyrsus.com> 12014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
2 2
3 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
4
5 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
6 improving behavior on directories using multiple file-oriented
7 VCSes.
8
3 * vc/vc.el and all backends: API simplification; clear-headers 9 * vc/vc.el and all backends: API simplification; clear-headers
4 is no longer a public method. It is now local to the one place 10 is no longer a public method. It is now local to the one place
5 it's used, in the RCS steal-lock method. 11 it's used, in the RCS steal-lock method.
diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el
index c4acef95e9e..61918c9886e 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."
893 (define-key map "=" 'vc-diff) 893 (define-key map "=" 'vc-diff)
894 (define-key map "D" 'vc-root-diff) 894 (define-key map "D" 'vc-root-diff)
895 (define-key map "~" 'vc-revision-other-window) 895 (define-key map "~" 'vc-revision-other-window)
896 (define-key map "[delete]" 'vc-delete-file)
896 map)) 897 map))
897(fset 'vc-prefix-map vc-prefix-map) 898(fset 'vc-prefix-map vc-prefix-map)
898(define-key ctl-x-map "v" 'vc-prefix-map) 899(define-key ctl-x-map "v" 'vc-prefix-map)
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index ad3a2c49735..1b82bfd939d 100644
--- a/lisp/vc/vc.el
+++ b/lisp/vc/vc.el
@@ -602,15 +602,13 @@
602 602
603;;; Todo: 603;;; Todo:
604 604
605;; - Add key-binding for vc-delete-file.
606
607;;;; New Primitives: 605;;;; New Primitives:
608;; 606;;
609;; - deal with push operations. 607;; - deal with push operations.
610;; 608;;
611;;;; Primitives that need changing: 609;;;; Primitives that need changing:
612;; 610;;
613;; - vc-update/vc-merge should deal with VC systems that don't 611;; - vc-update/vc-merge should deal with VC systems that don't do
614;; update/merge on a file basis, but on a whole repository basis. 612;; update/merge on a file basis, but on a whole repository basis.
615;; vc-update and vc-merge assume the arguments are always files, 613;; vc-update and vc-merge assume the arguments are always files,
616;; they don't deal with directories. Make sure the *vc-dir* buffer 614;; they don't deal with directories. Make sure the *vc-dir* buffer