1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

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)
This commit is contained in:
Mauro Aranda 2023-09-18 09:19:04 -03:00 committed by Stefan Kangas
parent f8bdc8dff0
commit 47770b0eca

View File

@ -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