* 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'.
@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)}
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
---