Commit dd70012d authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

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'.
parent 51353952
......@@ -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})
@item C-c C-s
@kindex C-c C-s @r{(Shell mode)}
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment