diff options
author | Noam Postavsky <npostavs@gmail.com> | 2020-05-24 20:17:40 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2020-05-24 20:17:40 -0400 |
commit | b9b8c5e3fa71aea719934ce422fb22734590a8b3 (patch) | |
tree | bf0a6540c5771da947eb2b6818e82c2f08d1d69c /lisp/emacs-lisp/inline.el | |
parent | 3b65fb7658c2717457c033c6704cf3b007804226 (diff) | |
download | emacs-b9b8c5e3fa71aea719934ce422fb22734590a8b3.tar.gz emacs-b9b8c5e3fa71aea719934ce422fb22734590a8b3.tar.bz2 emacs-b9b8c5e3fa71aea719934ce422fb22734590a8b3.zip |
Make dedicated keymap and mode for eshell-command (Bug#41370)
Otherwise, we end up permanently modifying eshell-mode-map when
running eshell-command.
* lisp/eshell/eshell.el (eshell-command-mode): New mode, with map to
contain the bindings previously set by eshell-return-exits-minibuffer.
(eshell-return-exits-minibuffer): Make into obsolete alias for
eshell-command-mode.
(eshell-command): Use eshell-command-mode instead of
eshell-return-exits-minibuffer.
Diffstat (limited to 'lisp/emacs-lisp/inline.el')
0 files changed, 0 insertions, 0 deletions