diff options
| author | Jacob S. Gordon | 2025-10-08 14:55:36 -0400 |
|---|---|---|
| committer | Sean Whitton | 2025-11-07 15:10:57 +0000 |
| commit | c1e8fc3069ca43a34ee5af845e47bc9cfbf8a877 (patch) | |
| tree | 18314b53c0325e817191cc4977acda08c641d2fa | |
| parent | 816830d92191e3c73b785e60e15d28c40c88ea2c (diff) | |
| download | emacs-c1e8fc3069ca43a34ee5af845e47bc9cfbf8a877.tar.gz emacs-c1e8fc3069ca43a34ee5af845e47bc9cfbf8a877.zip | |
; 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.
| -rw-r--r-- | lisp/eshell/esh-mode.el | 10 | ||||
| -rw-r--r-- | lisp/net/eww.el | 4 |
2 files changed, 11 insertions, 3 deletions
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el index 15dfd90dd8a..b41f7aa9055 100644 --- a/lisp/eshell/esh-mode.el +++ b/lisp/eshell/esh-mode.el | |||
| @@ -128,7 +128,10 @@ buffer. If `this', scroll only the selected window. | |||
| 128 | 128 | ||
| 129 | See `eshell-preinput-scroll-to-bottom'." | 129 | See `eshell-preinput-scroll-to-bottom'." |
| 130 | :type '(radio (const :tag "Do not scroll Eshell windows" nil) | 130 | :type '(radio (const :tag "Do not scroll Eshell windows" nil) |
| 131 | (const :tag "Scroll all windows showing the buffer" all) | 131 | (choice :tag "Scroll all windows showing the buffer" |
| 132 | :value all | ||
| 133 | (const t) | ||
| 134 | (const all)) | ||
| 132 | (const :tag "Scroll only the selected window" this))) | 135 | (const :tag "Scroll only the selected window" this))) |
| 133 | 136 | ||
| 134 | (defcustom eshell-scroll-to-bottom-on-output nil | 137 | (defcustom eshell-scroll-to-bottom-on-output nil |
| @@ -140,7 +143,10 @@ scroll only those that are not the selected window. | |||
| 140 | See variable `eshell-scroll-show-maximum-output' and function | 143 | See variable `eshell-scroll-show-maximum-output' and function |
| 141 | `eshell-postoutput-scroll-to-bottom'." | 144 | `eshell-postoutput-scroll-to-bottom'." |
| 142 | :type '(radio (const :tag "Do not scroll Eshell windows" nil) | 145 | :type '(radio (const :tag "Do not scroll Eshell windows" nil) |
| 143 | (const :tag "Scroll all windows showing the buffer" all) | 146 | (choice :tag "Scroll all windows showing the buffer" |
| 147 | :value all | ||
| 148 | (const t) | ||
| 149 | (const all)) | ||
| 144 | (const :tag "Scroll only the selected window" this) | 150 | (const :tag "Scroll only the selected window" this) |
| 145 | (const :tag "Scroll all windows other than selected" others))) | 151 | (const :tag "Scroll all windows other than selected" others))) |
| 146 | 152 | ||
diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 666a5025c2c..7d7373b275e 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el | |||
| @@ -148,7 +148,9 @@ If nil, buffers will require manual reload, and will contain the text | |||
| 148 | specified in `eww-restore-reload-prompt' instead of the actual Web | 148 | specified in `eww-restore-reload-prompt' instead of the actual Web |
| 149 | page contents." | 149 | page contents." |
| 150 | :version "25.1" | 150 | :version "25.1" |
| 151 | :type '(choice (const :tag "Restore all automatically" t) | 151 | :type '(choice (choice :tag "Restore all automatically" :value t |
| 152 | (const t) | ||
| 153 | (const auto)) | ||
| 152 | (const :tag "Require manual reload" nil))) | 154 | (const :tag "Require manual reload" nil))) |
| 153 | 155 | ||
| 154 | (defcustom eww-restore-reload-prompt | 156 | (defcustom eww-restore-reload-prompt |