From: Stephen Eglen Date: Fri, 11 Jun 2010 13:28:41 +0000 (+0100) Subject: Bind `shell-resync-dirs' to M-RET in *shell* buffers. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~72 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=84d9562f579e56ce7bdf9c14b37ab0fa1f596681;p=emacs.git Bind `shell-resync-dirs' to M-RET in *shell* buffers. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e381d63f344..9584d1ed753 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-06-11 Stephen Eglen + + * shell.el: Bind `shell-resync-dirs' to M-RET. + 2010-06-10 Michael Albinus * notifications.el: Move file from lisp/net, because it is diff --git a/lisp/shell.el b/lisp/shell.el index 4b93af48bea..a35c14e2fa7 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -340,6 +340,7 @@ Thus, this does not include the shell's current directory.") (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]