]> git.eshelyaron.com Git - emacs.git/commitdiff
Bind `shell-resync-dirs' to M-RET in *shell* buffers.
authorStephen Eglen <stephen@gnu.org>
Fri, 11 Jun 2010 13:28:41 +0000 (14:28 +0100)
committerStephen Eglen <stephen@gnu.org>
Fri, 11 Jun 2010 13:28:41 +0000 (14:28 +0100)
lisp/ChangeLog
lisp/shell.el

index e381d63f344cd488692a3dbf7951331af456792e..9584d1ed7533ae2d9eb914d49ef4365bb9c9aad3 100644 (file)
@@ -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
index 4b93af48beaf527726bce4a5e6d363de2f20dda2..a35c14e2fa7ca729764e8ffd368b76c35ccb7fd2 100644 (file)
@@ -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]