summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorBob Rogers <rogers@rgrjr.com>2023-03-31 09:57:32 +0200
committerRobert Pluim <rpluim@gmail.com>2023-03-31 15:08:22 +0200
commit6f496105e392af45c2248b4523ef19804837a8a6 (patch)
tree79715bfe6fbafffe26545f725a77b070f99e202c /etc
parentc96bd1bf8843519bafc8d0dcb8ab096c49eef6cd (diff)
downloademacs-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/NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index f27cafb3d41..67e1a02d587 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
+++