Function: gnus-custom-mode

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

Signature

(gnus-custom-mode)

Documentation

Major mode for editing Gnus customization buffers.

The following commands are available:
TAB (widget-forward) Move to next button or editable field.
S-<tab> (widget-backward) Move to previous button or editable field.
<down-mouse-1> (widget-button-click) Activate button under the mouse pointer.
RET (widget-button-press) Activate button under point.

This mode runs the hook gnus-custom-mode-hook, as the final or penultimate step during initialization.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-cus.el.gz
;;; Widgets:

(define-derived-mode gnus-custom-mode fundamental-mode "Gnus Customize"
  "Major mode for editing Gnus customization buffers.

The following commands are available:\\<widget-keymap>

\\[widget-forward]		Move to next button or editable field.
\\[widget-backward]		Move to previous button or editable field.
\\[widget-button-click]	Activate button under the mouse pointer.
\\[widget-button-press]		Activate button under point."
  (use-local-map widget-keymap)
  ;; Emacs stuff:
  (when (and (facep 'custom-button-face)
	     (facep 'custom-button-pressed-face))
    (setq-local widget-button-face 'custom-button-face)
    (setq-local widget-button-pressed-face 'custom-button-pressed-face)
    (setq-local widget-mouse-face 'custom-button-pressed-face))
  (when (and (boundp 'custom-raised-buttons)
	     (symbol-value 'custom-raised-buttons))
    (setq-local widget-push-button-prefix "")
    (setq-local widget-push-button-suffix "")
    (setq-local widget-link-prefix "")
    (setq-local widget-link-suffix "")))