[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 608c821: Fix history problem in `M-x shell' when started twice
From: |
Lars Ingebrigtsen |
Subject: |
master 608c821: Fix history problem in `M-x shell' when started twice |
Date: |
Tue, 27 Oct 2020 08:44:25 -0400 (EDT) |
branch: master
commit 608c821716e20a6ba973219beb1edf14139ea12a
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix history problem in `M-x shell' when started twice
* lisp/comint.el (comint-input-ring-file-name): Avoid having this
variable being killed on mode restart while the other ring
variables aren't (bug#39667). This would mean that `M-x
shell'/`C-d'/`M-x shell' didn't save commands entered after the
second `M-x shell'.
---
lisp/comint.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/comint.el b/lisp/comint.el
index 944e1ae..2873416 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -611,6 +611,7 @@ The command \\[comint-accumulate] sets this.")
(put 'comint-replace-by-expanded-history 'menu-enable 'comint-input-autoexpand)
(put 'comint-input-ring 'permanent-local t)
+(put 'comint-input-ring-file-name 'permanent-local t)
(put 'comint-input-ring-index 'permanent-local t)
(put 'comint-save-input-ring-index 'permanent-local t)
(put 'comint-input-autoexpand 'permanent-local t)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 608c821: Fix history problem in `M-x shell' when started twice,
Lars Ingebrigtsen <=