diff options
| author | Daniel Colascione | 2015-01-09 22:44:31 -0800 |
|---|---|---|
| committer | Daniel Colascione | 2015-01-09 22:44:31 -0800 |
| commit | c2208b3d913c2e53b96d7f11b31422a57366f601 (patch) | |
| tree | 80bf183e513e0251017dbdbc987798cd1ad2118b | |
| parent | 087a4d2f0ea3203d875b21222541803efb830cbe (diff) | |
| download | emacs-c2208b3d913c2e53b96d7f11b31422a57366f601.tar.gz emacs-c2208b3d913c2e53b96d7f11b31422a57366f601.zip | |
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.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/vc/vc-hooks.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c7ad41a800b..fc7f5e57cbd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2015-01-10 Daniel Colascione <dancol@dancol.org> | ||
| 2 | |||
| 3 | * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x, | ||
| 4 | by analogy with dired. | ||
| 5 | |||
| 1 | 2015-01-09 Daniel Colascione <dancol@dancol.org> | 6 | 2015-01-09 Daniel Colascione <dancol@dancol.org> |
| 2 | 7 | ||
| 3 | * progmodes/js.el (js--function-heading-1-re) | 8 | * progmodes/js.el (js--function-heading-1-re) |
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." | |||
| 886 | (define-key map "=" 'vc-diff) | 886 | (define-key map "=" 'vc-diff) |
| 887 | (define-key map "D" 'vc-root-diff) | 887 | (define-key map "D" 'vc-root-diff) |
| 888 | (define-key map "~" 'vc-revision-other-window) | 888 | (define-key map "~" 'vc-revision-other-window) |
| 889 | (define-key map "[delete]" 'vc-delete-file) | 889 | (define-key map "x" 'vc-delete-file) |
| 890 | map)) | 890 | map)) |
| 891 | (fset 'vc-prefix-map vc-prefix-map) | 891 | (fset 'vc-prefix-map vc-prefix-map) |
| 892 | (define-key ctl-x-map "v" 'vc-prefix-map) | 892 | (define-key ctl-x-map "v" 'vc-prefix-map) |