]> git.eshelyaron.com Git - emacs.git/commit
Improve undoing of RET in comint and eshell
authorMiha Rihtaršič <miha@kamnitnik.top>
Sun, 7 Nov 2021 23:10:03 +0000 (00:10 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 7 Nov 2021 23:10:03 +0000 (00:10 +0100)
commit4268d9a2b6bc96c0ae2448c6694bbd765fc577a7
tree635a5716671301718d8459698fb8f2dee879aa4a
parent5f70682d7b8a3550bf6b9366329ad3418ab0a95f
Improve undoing of RET in comint and eshell

* lisp/comint.el (comint-send-input):
(comint-accumulate):
* lisp/eshell/esh-mode.el (eshell-send-input): Before sending input to
the process, delete it and reinsert it again.  Undoing this
insertion with 'C-/' will delete the region, moving the process mark
back to its original position (bug#49484).
lisp/comint.el
lisp/eshell/esh-mode.el