Function: custom-theme-choose-mode

custom-theme-choose-mode is an interactive and byte-compiled function defined in cus-theme.el.gz.

Signature

(custom-theme-choose-mode)

Documentation

Major mode for selecting Custom themes.

Do not call this mode function yourself. It is meant for internal use.

In addition to any hooks its parent mode special-mode might have run, this mode runs the hook custom-theme-choose-mode-hook, as the final or penultimate step during initialization.

- negative-argument
- negative-argument
0 digit-argument
1 digit-argument
2 digit-argument
3 digit-argument
4 digit-argument
5 digit-argument
6 digit-argument
7 digit-argument
8 digit-argument
9 digit-argument
< beginning-of-buffer
<keymap> <backtab> widget-backward
<keymap> <down-mouse-1> widget-button-click
<keymap> <down-mouse-2> widget-button-click
<keymap> <touchscreen-begin> widget-button-click
<keymap> C-M-i widget-backward
<keymap> S-<tab> widget-backward
<keymap> TAB widget-forward
> end-of-buffer
? custom-describe-theme
? describe-mode
C-x C-s custom-theme-save
DEL scroll-down-command
S-SPC scroll-down-command
SPC scroll-up-command
SPC..~ undefined
SPC..~ undefined
g revert-buffer
h describe-mode
n widget-forward
p widget-backward
q quit-window
q..\x3FFFFF digit-argument

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/cus-theme.el.gz
(define-derived-mode custom-theme-choose-mode special-mode "Themes"
  "Major mode for selecting Custom themes.
Do not call this mode function yourself.  It is meant for internal use."
  (use-local-map custom-theme-choose-mode-map)
  (custom--initialize-widget-variables)
  (setq-local revert-buffer-function
              (lambda (_ignore-auto noconfirm)
                (when (or noconfirm (y-or-n-p "Discard current choices? "))
                  (customize-themes (current-buffer))))))