[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master dd70012: Document recent changes in 'comint-delete-output' (bug#1
From: |
Eli Zaretskii |
Subject: |
master dd70012: Document recent changes in 'comint-delete-output' (bug#1496) |
Date: |
Mon, 19 Jul 2021 12:22:51 -0400 (EDT) |
branch: master
commit dd70012dca136d1218987b602ce22330e406cb26
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Document recent changes in 'comint-delete-output' (bug#1496)
* doc/emacs/misc.texi (Shell Mode): Document the new optional
behavior of 'C-c C-o'.
* etc/NEWS: Call out the new behavior of 'C-c C-o'.
---
doc/emacs/misc.texi | 5 ++++-
etc/NEWS | 4 ++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 12cd492..aba98cf 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -1021,7 +1021,10 @@ pending in the shell buffer and not yet sent.
@findex comint-delete-output
Delete the last batch of output from a shell command
(@code{comint-delete-output}). This is useful if a shell command spews
-out lots of output that just gets in the way.
+out lots of output that just gets in the way. With a prefix argument,
+this command saves the deleted text in the @code{kill-ring}
+(@pxref{Kill Ring}), so that you could later yank it (@pxref{Yanking})
+elsewhere.
@item C-c C-s
@kindex C-c C-s @r{(Shell mode)}
diff --git a/etc/NEWS b/etc/NEWS
index 42869f4..0c90683 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1426,6 +1426,10 @@ If non-nil, 'shell-mode' handles implicit "cd" commands,
changing the
directory if the command is a directory. Useful for shells like "zsh"
that has this feature.
++++
+*** 'comint-delete-output' can now save deleted text in the kill-ring.
+Interactively, 'C-u C-c C-o' triggers this new optional behavior.
+
** Eshell
---
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master dd70012: Document recent changes in 'comint-delete-output' (bug#1496),
Eli Zaretskii <=