From: Lars Ingebrigtsen Date: Wed, 9 Oct 2019 07:22:38 +0000 (+0200) Subject: Fix possible initialisation error in shell-mode-map X-Git-Tag: emacs-27.0.90~1200 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1204e7cb81093a42b781eb8c083af9d406de23e9;p=emacs.git 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). --- 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)