]> git.eshelyaron.com Git - emacs.git/commitdiff
Better binding for vc-delete-file
authorDaniel Colascione <dancol@dancol.org>
Sat, 10 Jan 2015 06:44:31 +0000 (22:44 -0800)
committerDaniel Colascione <dancol@dancol.org>
Sat, 10 Jan 2015 06:44:31 +0000 (22:44 -0800)
* lisp/vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
by analogy with dired.

lisp/ChangeLog
lisp/vc/vc-hooks.el

index c7ad41a800b6121070baa453cb19b709aa45a544..fc7f5e57cbd15eacd6191810f56762d0f371ad75 100644 (file)
@@ -1,3 +1,8 @@
+2015-01-10  Daniel Colascione  <dancol@dancol.org>
+
+       * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
+       by analogy with dired.
+
 2015-01-09  Daniel Colascione  <dancol@dancol.org>
 
        * progmodes/js.el (js--function-heading-1-re)
index 3b1f6c7103cb772ddd2d46c932845a53472bc172..7801f4f8ed96645e2347b58d8d52d382cbc8fe3d 100644 (file)
@@ -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)