From 1591b8ab9a0516a5e9b7a2dd66daddf479b75762 Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Thu, 13 Aug 2020 17:28:21 +0100 Subject: [PATCH] ; Touch up last term.el-related changes --- etc/NEWS | 8 ++++---- lisp/term.el | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) 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 -- 2.39.5