]> git.eshelyaron.com Git - emacs.git/commit
Fix history problem in `M-x shell' when started twice
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 27 Oct 2020 12:44:16 +0000 (13:44 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 27 Oct 2020 12:44:16 +0000 (13:44 +0100)
commit608c821716e20a6ba973219beb1edf14139ea12a
tree7b3efd030c5d9cbf1d94b0d660f077a35571d83c
parent88f5530a9b861ae3f3003171ef9efa98ab1f8222
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