"C. Michailidis" writes: > I recently updated a few machines and noticed that term.el in Emacs > version 27+ forcibly submits my pasted commands to the shell sub-process > when switching to char-mode (from line-mode). In prior versions of Emacs > term.el didn't do this; I could further modify the command in char-mode > even if it was pasted from line-mode and submit it myself by pressing > enter. Thanks for the report. This issue is a side effect of this change: 5653b76d0b * lisp/term.el: Fix minor compilation issues with cl-lib and lexbind Stefan Monnier 2019-02-24 When I revert the part that changes `term-char-mode':