1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

; Add missing defcustom types in eshell and eww (bug#79607)

* lisp/eshell/esh-mode.el (eshell-scroll-to-bottom-on-input)
(eshell-scroll-to-bottom-on-output): Add t as a choice.
* lisp/net/eww.el (eww-restore-desktop): Add 'auto' as a choice.
This commit is contained in:
Jacob S. Gordon 2025-10-08 14:55:36 -04:00 committed by Sean Whitton
parent 816830d921
commit c1e8fc3069
2 changed files with 11 additions and 3 deletions

View file

@ -128,7 +128,10 @@ buffer. If `this', scroll only the selected window.
See `eshell-preinput-scroll-to-bottom'." See `eshell-preinput-scroll-to-bottom'."
:type '(radio (const :tag "Do not scroll Eshell windows" nil) :type '(radio (const :tag "Do not scroll Eshell windows" nil)
(const :tag "Scroll all windows showing the buffer" all) (choice :tag "Scroll all windows showing the buffer"
:value all
(const t)
(const all))
(const :tag "Scroll only the selected window" this))) (const :tag "Scroll only the selected window" this)))
(defcustom eshell-scroll-to-bottom-on-output nil (defcustom eshell-scroll-to-bottom-on-output nil
@ -140,7 +143,10 @@ scroll only those that are not the selected window.
See variable `eshell-scroll-show-maximum-output' and function See variable `eshell-scroll-show-maximum-output' and function
`eshell-postoutput-scroll-to-bottom'." `eshell-postoutput-scroll-to-bottom'."
:type '(radio (const :tag "Do not scroll Eshell windows" nil) :type '(radio (const :tag "Do not scroll Eshell windows" nil)
(const :tag "Scroll all windows showing the buffer" all) (choice :tag "Scroll all windows showing the buffer"
:value all
(const t)
(const all))
(const :tag "Scroll only the selected window" this) (const :tag "Scroll only the selected window" this)
(const :tag "Scroll all windows other than selected" others))) (const :tag "Scroll all windows other than selected" others)))

View file

@ -148,7 +148,9 @@ If nil, buffers will require manual reload, and will contain the text
specified in `eww-restore-reload-prompt' instead of the actual Web specified in `eww-restore-reload-prompt' instead of the actual Web
page contents." page contents."
:version "25.1" :version "25.1"
:type '(choice (const :tag "Restore all automatically" t) :type '(choice (choice :tag "Restore all automatically" :value t
(const t)
(const auto))
(const :tag "Require manual reload" nil))) (const :tag "Require manual reload" nil)))
(defcustom eww-restore-reload-prompt (defcustom eww-restore-reload-prompt