From d891a9f705b3b4af2aedeed645f4636535ea6c2e Mon Sep 17 00:00:00 2001 From: Mauro Aranda Date: Mon, 18 Sep 2023 09:19:04 -0300 Subject: [PATCH] Fix term-scroll-to-bottom-on-output :type (Bug#66071) * lisp/term.el (term-scroll-to-bottom-on-output): Add missing choices. --- lisp/term.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/term.el b/lisp/term.el index b8466b21332..5dd73447cfb 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -494,7 +494,10 @@ term-scroll-to-bottom-on-output 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) + (other :tag "Scroll all windows" t)) :group 'term) (defcustom term-scroll-snap-to-bottom t -- 2.34.1