Variable: comint-buffer-maximum-size
comint-buffer-maximum-size is a customizable variable defined in
comint.el.gz.
Value
1024
Documentation
The maximum size in lines for Comint buffers.
Comint buffers are truncated from the top to be no greater than this number, if
the function comint-truncate-buffer is on comint-output-filter-functions.
Probably introduced at or before Emacs version 19.29.
Source Code
;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defcustom comint-buffer-maximum-size 1024
"The maximum size in lines for Comint buffers.
Comint buffers are truncated from the top to be no greater than this number, if
the function `comint-truncate-buffer' is on `comint-output-filter-functions'."
:type 'integer
:group 'comint)