[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7349: 24.0.50; "e" should work in vc-dir-mode
From: |
rogers-emacs |
Subject: |
bug#7349: 24.0.50; "e" should work in vc-dir-mode |
Date: |
Sat, 6 Nov 2010 17:20:51 -0400 |
It has long annoyed me that "e" finds the file in dired-mode, but
just beeps in vc-dir-mode. The patch below rectifies the situation.
-- Bob Rogers
http://www.rgrjr.com/
------------------------------------------------------------------------
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index 4397251..5c8b690 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -266,6 +266,7 @@ See `run-hooks'."
(define-key map [C-up] 'vc-dir-previous-directory)
;; The remainder.
(define-key map "f" 'vc-dir-find-file)
+ (define-key map "e" 'vc-dir-find-file) ;; dired-mode compatibility.
(define-key map "\C-m" 'vc-dir-find-file)
(define-key map "o" 'vc-dir-find-file-other-window)
(define-key map "\C-c\C-c" 'vc-dir-kill-dir-status-process)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#7349: 24.0.50; "e" should work in vc-dir-mode,
rogers-emacs <=