]> git.eshelyaron.com Git - emacs.git/commit
Allow old input to include continuation lines in shell-mode
authorBob Rogers <rogers@rgrjr.com>
Fri, 31 Mar 2023 07:57:32 +0000 (09:57 +0200)
committerRobert Pluim <rpluim@gmail.com>
Fri, 31 Mar 2023 13:08:22 +0000 (15:08 +0200)
commit6f496105e392af45c2248b4523ef19804837a8a6
tree79715bfe6fbafffe26545f725a77b070f99e202c
parentc96bd1bf8843519bafc8d0dcb8ab096c49eef6cd
Allow old input to include continuation lines in shell-mode

* lisp/shell.el (shell-get-old-input-include-continuation-lines): New
defcustom (default nil).
(shell-get-old-input): New function.  Like
'comint-get-old-input-default' but include all continuation lines if
'shell-get-old-input-include-continuation-lines' is non-nil.
(shell-mode): Install shell-get-old-input.  (Bug#61069)

* etc/NEWS: Advertise the new defcustom.
etc/NEWS
lisp/shell.el