From: Stefan Kangas Date: Wed, 2 Oct 2019 13:50:54 +0000 (+0200) Subject: Quadruple term-buffer-maximum-size (Bug#37584) X-Git-Tag: emacs-27.0.90~1236 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=130b1321eda817727f361037b6c93d6a90bc0619;p=emacs.git Quadruple term-buffer-maximum-size (Bug#37584) * lisp/term.el (term-buffer-maximum-size): Quadruple to 8192. --- diff --git a/lisp/term.el b/lisp/term.el index 43239d9b6cd..50a0c80bcfd 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -23,7 +23,7 @@ ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs. If not, see . -;; Marck 13 2001 +;; March 13 2001 ;; Fixes for CJK support by Yong Lu . ;; Dir/Hostname tracking and ANSI colorization by @@ -102,9 +102,8 @@ ;; ;; ---------------------------------------- ;; -;; With the term-buffer-maximum-size you can finally decide how many -;; scrollback lines to keep: its default is 2048 but you can change it as -;; usual. +;; With the variable term-buffer-maximum-size you can decide how many +;; scrollback lines to keep: its default is 8192. ;; ;; ---------------------------------------- ;; @@ -800,14 +799,15 @@ Buffer local variable.") "Face used to render white color code." :group 'term) -;; Inspiration came from comint.el -mm -(defcustom term-buffer-maximum-size 2048 +(defcustom term-buffer-maximum-size 8192 "The maximum size in lines for term buffers. Term buffers are truncated from the top to be no greater than this number. Notice that a setting of 0 means \"don't truncate anything\". This variable is buffer-local." :group 'term - :type 'integer) + :type 'integer + :version "27.1") + ;; Set up term-raw-map, etc.