From 1204e7cb81093a42b781eb8c083af9d406de23e9 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 9 Oct 2019 09:22:38 +0200 Subject: [PATCH] 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). --- lisp/shell.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5