From: Basil L. Contovounesios Date: Thu, 13 Aug 2020 16:28:21 +0000 (+0100) Subject: ; Touch up last term.el-related changes X-Git-Tag: emacs-28.0.90~6598 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1591b8ab9a0516a5e9b7a2dd66daddf479b75762;p=emacs.git ; Touch up last term.el-related changes --- diff --git a/etc/NEWS b/etc/NEWS index 111cecf92ba..d0be28740ef 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -781,10 +781,10 @@ digits. ** Miscellaneous --- -*** New variable 'term-scroll-snap-to-bottom' -term will, by default, recenter the buffer so that the prompt on the -final line in the window. Setting this new variable to nil inhibits -this behavior. +*** New user option 'term-scroll-snap-to-bottom'. +By default, 'term' and 'ansi-term' will now recenter the buffer so +that the prompt is on the final line in the window. Setting this new +user option to nil inhibits this behavior. *** The new library hierarchy.el has been added. It's a library to create, query, navigate and display hierarchy diff --git a/lisp/term.el b/lisp/term.el index 6f899fcb5c8..149405fa413 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -506,6 +506,7 @@ This variable is buffer-local." If non-nil, when the prompt is visible within the window, then scroll so that the prompt is on the bottom on any input or output." + :version "28.1" :type 'boolean) (defcustom term-scroll-show-maximum-output nil