[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 1204e7c: Fix possible initialisation error in shell
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 1204e7c: Fix possible initialisation error in shell-mode-map |
Date: |
Wed, 9 Oct 2019 03:22:50 -0400 (EDT) |
branch: master
commit 1204e7cb81093a42b781eb8c083af9d406de23e9
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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 fb2c36f..556330c 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 1204e7c: Fix possible initialisation error in shell-mode-map,
Lars Ingebrigtsen <=