# HG changeset patch # User Stephen Eglen # Date 1276262921 -3600 # Node ID a4e18a1ee55d4351f60ed6452c1127c943ba99e9 # Parent 83458f5cdc38c3db7f43434dd3b43796acc5409f Bind `shell-resync-dirs' to M-RET in *shell* buffers. diff -r 83458f5cdc38 -r a4e18a1ee55d lisp/ChangeLog --- 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 + + * 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 -r 83458f5cdc38 -r a4e18a1ee55d lisp/shell.el --- 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]