Mercurial > emacs
diff lisp/shell.el @ 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 | 1d1d5d9bd884 |
children | 515d80e174ba |
line wrap: on
line diff
--- 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]