unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7349: 24.0.50; "e" should work in vc-dir-mode
@ 2010-11-06 21:20 rogers-emacs
  2011-03-03  7:32 ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: rogers-emacs @ 2010-11-06 21:20 UTC (permalink / raw)
  To: 7349

   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)





^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-05  3:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-06 21:20 bug#7349: 24.0.50; "e" should work in vc-dir-mode rogers-emacs
2011-03-03  7:32 ` Glenn Morris
2011-03-04  4:33   ` Stefan Monnier
2011-03-04  5:08     ` Glenn Morris
2011-03-05  3:59       ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).