Subject: 24.0.50; "e" should work in vc-dir-mode
From: [email-masked]
To: [email-masked]
Date: Sat, 6 Nov 2010 17:20:51 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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)