Variable: comint-delete-old-input
comint-delete-old-input is a customizable variable defined in
comint.el.gz.
Value
t
Documentation
When non-nil, delete old input on inserting previous input with <mouse-2> (comint-insert-input).
This variable was added, or its default value changed, in Emacs 29.1.
Probably introduced at or before Emacs version 29.1.
Source Code
;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defcustom comint-delete-old-input t
"When non-nil, delete old input on inserting previous input with \\<comint-mode-map>\\[comint-insert-input]."
:type 'boolean
:group 'comint
:version "29.1")