diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-10-09 09:22:38 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-10-09 09:22:38 +0200 |
commit | 1204e7cb81093a42b781eb8c083af9d406de23e9 (patch) | |
tree | da68651cec678c02367bcf9c003a5cd5091fb5c8 /lisp/shell.el | |
parent | 2497a31646db4d255135c16f7b5b318421c5d845 (diff) | |
download | emacs-1204e7cb81093a42b781eb8c083af9d406de23e9.tar.gz |
Fix possible initialisation error in shell-mode-map
* lisp/shell.el (shell-mode-map): Comint is the parent mode, so
there's no need to explicitly make it a parent map here (bug#25187).
Diffstat (limited to 'lisp/shell.el')
-rw-r--r-- | lisp/shell.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/shell.el b/lisp/shell.el index fb2c36fa733..556330c8d5e 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -331,7 +331,7 @@ Thus, this does not include the shell's current directory.") "Command used by `shell-resync-dirs' to query the shell.") (defvar shell-mode-map - (let ((map (nconc (make-sparse-keymap) comint-mode-map))) + (let ((map (make-sparse-keymap))) (define-key map "\C-c\C-f" 'shell-forward-command) (define-key map "\C-c\C-b" 'shell-backward-command) (define-key map "\t" 'completion-at-point) |