diff options
author | Bob Rogers <rogers@rgrjr.com> | 2023-03-31 09:57:32 +0200 |
---|---|---|
committer | Robert Pluim <rpluim@gmail.com> | 2023-03-31 15:08:22 +0200 |
commit | 6f496105e392af45c2248b4523ef19804837a8a6 (patch) | |
tree | 79715bfe6fbafffe26545f725a77b070f99e202c /etc | |
parent | c96bd1bf8843519bafc8d0dcb8ab096c49eef6cd (diff) | |
download | emacs-6f496105e392af45c2248b4523ef19804837a8a6.tar.gz |
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.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -174,6 +174,14 @@ correctly unloads Eshell and all of its modules. After manually editing 'eshell-aliases-file', you can use this command to load the edited aliases. +** Shell Mode + ++++ +*** New user option 'shell-get-old-input-include-continuation-lines'. +When this user option is non-nil, 'shell-get-old-input' (C-RET) +includes multiple shell "\" continuation lines from command output. +Default is nil. + ** Prog Mode +++ |