+2013-06-05 Leo Liu <sdl.web@gmail.com>
+
+ * eshell/esh-mode.el (eshell-mode): Fix key bindings.
+
2013-06-04 Leo Liu <sdl.web@gmail.com>
* progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
(if mode-line-elt
(setcar mode-line-elt 'eshell-command-running-string))))
- (define-key eshell-mode-map [return] 'eshell-send-input)
- (define-key eshell-mode-map [(control ?m)] 'eshell-send-input)
- (define-key eshell-mode-map [(control ?j)] 'eshell-send-input)
- (define-key eshell-mode-map [(meta return)] 'eshell-queue-input)
- (define-key eshell-mode-map [(meta control ?m)] 'eshell-queue-input)
+ (define-key eshell-mode-map "\r" 'eshell-send-input)
+ (define-key eshell-mode-map "\M-\r" 'eshell-queue-input)
(define-key eshell-mode-map [(meta control ?l)] 'eshell-show-output)
(define-key eshell-mode-map [(control ?a)] 'eshell-bol)