mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
(comint-kill-output): Preserve entire partial line at
end, even if it doesn't match comint-prompt-regexp.
This commit is contained in:
parent
97b0c6345b
commit
37a9a675f2
@ -1473,7 +1473,7 @@ Does not delete the prompt."
|
||||
(beginning-of-line nil)
|
||||
(point-marker))))
|
||||
(delete-region comint-last-input-end pmark)
|
||||
(comint-skip-prompt)
|
||||
(goto-char (process-mark proc))
|
||||
(setq replacement (concat "*** output flushed ***\n"
|
||||
(buffer-substring pmark (point))))
|
||||
(delete-region pmark (point))))
|
||||
|
Loading…
Reference in New Issue
Block a user