Commit 37a9a675 authored by Karl Heuer's avatar Karl Heuer
Browse files

(comint-kill-output): Preserve entire partial line at

end, even if it doesn't match comint-prompt-regexp.
parent 97b0c634
......@@ -1473,7 +1473,7 @@ Does not delete the prompt."
(beginning-of-line nil)
(delete-region comint-last-input-end pmark)
(goto-char (process-mark proc))
(setq replacement (concat "*** output flushed ***\n"
(buffer-substring pmark (point))))
(delete-region pmark (point))))
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