emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 47770b0eca4 2/2: Fix term-scroll-to-bottom-on-output :type


From: Stefan Kangas
Subject: emacs-29 47770b0eca4 2/2: Fix term-scroll-to-bottom-on-output :type
Date: Sat, 30 Sep 2023 19:35:44 -0400 (EDT)

branch: emacs-29
commit 47770b0eca4ba94f6b2a5dd740ff42023c8159c4
Author: Mauro Aranda <maurooaranda@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    Fix term-scroll-to-bottom-on-output :type
    
    * lisp/term.el (term-scroll-to-bottom-on-output): Add missing choices.
    Don't advertise the value 'all' in docstring.  (Bug#66071)
---
 lisp/term.el | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/lisp/term.el b/lisp/term.el
index 2e719567058..68b1136a0b4 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -486,7 +486,7 @@ Customize this option to nil if you want the previous 
behavior."
 
 (defcustom term-scroll-to-bottom-on-output nil
   "Controls whether interpreter output causes window to scroll.
-If nil, then do not scroll.  If t or `all', scroll all windows showing buffer.
+If nil, then do not scroll.  If t, scroll all windows showing buffer.
 If `this', scroll only the selected window.
 If `others', scroll only those that are not the selected window.
 
@@ -494,7 +494,12 @@ The default is nil.
 
 See variable `term-scroll-show-maximum-output'.
 This variable is buffer-local."
-  :type 'boolean
+  :type '(choice (const :tag "Don't scroll" nil)
+                 (const :tag "Scroll selected window only" this)
+                 (const :tag "Scroll unselected windows" others)
+                 ;; We also recognize `all', but we don't advertise it
+                 ;; anymore.  (Bug#66071)
+                 (other :tag "Scroll all windows" t))
   :group 'term)
 
 (defcustom term-scroll-snap-to-bottom t



reply via email to

[Prev in Thread] Current Thread [Next in Thread]