changeset 108968:a4e18a1ee55d

Bind `shell-resync-dirs' to M-RET in *shell* buffers.
author Stephen Eglen <stephen@gnu.org>
date Fri, 11 Jun 2010 14:28:41 +0100
parents 83458f5cdc38
children cdae067c62d3
files lisp/ChangeLog lisp/shell.el
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Jun 10 20:41:02 2010 -0700
+++ b/lisp/ChangeLog	Fri Jun 11 14:28:41 2010 +0100
@@ -1,3 +1,7 @@
+2010-06-11  Stephen Eglen  <stephen@gnu.org>
+
+	* shell.el: Bind `shell-resync-dirs' to M-RET.
+
 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
 
 	* notifications.el: Move file from lisp/net, because it is
--- a/lisp/shell.el	Thu Jun 10 20:41:02 2010 -0700
+++ b/lisp/shell.el	Fri Jun 11 14:28:41 2010 +0100
@@ -340,6 +340,7 @@
        (define-key shell-mode-map "\C-c\C-f" 'shell-forward-command)
        (define-key shell-mode-map "\C-c\C-b" 'shell-backward-command)
        (define-key shell-mode-map "\t" 'comint-dynamic-complete)
+       (define-key shell-mode-map (kbd "M-RET") 'shell-resync-dirs)
        (define-key shell-mode-map "\M-?"
 	 'comint-dynamic-list-filename-completions)
        (define-key shell-mode-map [menu-bar completion]