summaryrefslogtreecommitdiff
path: root/lisp/shell.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-10-09 09:22:38 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-10-09 09:22:38 +0200
commit1204e7cb81093a42b781eb8c083af9d406de23e9 (patch)
treeda68651cec678c02367bcf9c003a5cd5091fb5c8 /lisp/shell.el
parent2497a31646db4d255135c16f7b5b318421c5d845 (diff)
downloademacs-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.el2
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)