diff options
author | Miha Rihtaršič <miha@kamnitnik.top> | 2021-12-07 21:16:23 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-12-07 21:16:23 +0100 |
commit | 5364c571988b2bfba05870450a66767f7c134ebd (patch) | |
tree | 4d1957e818f81219c0b6ef8a30e206d89976ed77 /test/lisp/emacs-lisp/warnings-tests.el | |
parent | beed398eb5e49680b731aeacd553d357759043c1 (diff) | |
download | emacs-5364c571988b2bfba05870450a66767f7c134ebd.tar.gz emacs-5364c571988b2bfba05870450a66767f7c134ebd.tar.bz2 emacs-5364c571988b2bfba05870450a66767f7c134ebd.zip |
Improve yanking in the middle of comint process output
* lisp/comint.el
(comint--unmark-string-as-output): New function to remove unwanted
properties from text yanked from comint buffers.
(comint-mode): Use it as a 'filter-buffer-substring-function'.
(comint-output-filter): Set 'insert-in-front-hooks' text property on
process output such that text yanked by the user in the middle of
process output is marked as process output (Bug#3735).
(comint--mark-as-output): New function.
(comint--mark-yanked-as-output): New function.
Diffstat (limited to 'test/lisp/emacs-lisp/warnings-tests.el')
0 files changed, 0 insertions, 0 deletions