summaryrefslogtreecommitdiff
path: root/lisp/vc
diff options
context:
space:
mode:
authorDaniel Colascione <dancol@dancol.org>2015-01-09 22:44:31 -0800
committerDaniel Colascione <dancol@dancol.org>2015-01-09 22:44:31 -0800
commitc2208b3d913c2e53b96d7f11b31422a57366f601 (patch)
tree80bf183e513e0251017dbdbc987798cd1ad2118b /lisp/vc
parent087a4d2f0ea3203d875b21222541803efb830cbe (diff)
downloademacs-c2208b3d913c2e53b96d7f11b31422a57366f601.tar.gz
Better binding for vc-delete-file
* lisp/vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x, by analogy with dired.
Diffstat (limited to 'lisp/vc')
-rw-r--r--lisp/vc/vc-hooks.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el
index 3b1f6c7103c..7801f4f8ed9 100644
--- a/lisp/vc/vc-hooks.el
+++ b/lisp/vc/vc-hooks.el
@@ -886,7 +886,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)
+ (define-key map "x" 'vc-delete-file)
map))
(fset 'vc-prefix-map vc-prefix-map)
(define-key ctl-x-map "v" 'vc-prefix-map)