diff options
| author | Miha Rihtaršič | 2021-12-07 21:16:23 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-12-07 21:16:23 +0100 |
| commit | 5364c571988b2bfba05870450a66767f7c134ebd (patch) | |
| tree | 4d1957e818f81219c0b6ef8a30e206d89976ed77 /src/bytecode.c | |
| parent | beed398eb5e49680b731aeacd553d357759043c1 (diff) | |
| download | emacs-5364c571988b2bfba05870450a66767f7c134ebd.tar.gz 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 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions