]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix possible initialisation error in shell-mode-map
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 9 Oct 2019 07:22:38 +0000 (09:22 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 9 Oct 2019 07:22:38 +0000 (09:22 +0200)
* 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

index fb2c36fa733bd2fb8c5175e50ad0b6123d29184b..556330c8d5e5596bd20be00c03fa0ddcc0efc912 100644 (file)
@@ -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)