emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master c2208b3: Better binding for vc-delete-file


From: Daniel Colascione
Subject: [Emacs-diffs] master c2208b3: Better binding for vc-delete-file
Date: Sat, 10 Jan 2015 06:44:42 +0000

branch: master
commit c2208b3d913c2e53b96d7f11b31422a57366f601
Author: Daniel Colascione <address@hidden>
Commit: Daniel Colascione <address@hidden>

    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.
---
 lisp/ChangeLog      |    5 +++++
 lisp/vc/vc-hooks.el |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c7ad41a..fc7f5e5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-10  Daniel Colascione  <address@hidden>
+
+       * 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  <address@hidden>
 
        * progmodes/js.el (js--function-heading-1-re)
diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el
index 3b1f6c7..7801f4f 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]