Function: customize-mode
customize-mode is an autoloaded, interactive and byte-compiled
function defined in cus-edit.el.gz.
Signature
(customize-mode MODE)
Documentation
Customize options related to a major or minor mode.
By default the current major mode is used. With a prefix argument or if the current major mode has no known group, prompt for the MODE to customize.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/cus-edit.el.gz
;;;###autoload
(defun customize-mode (mode)
"Customize options related to a major or minor mode.
By default the current major mode is used. With a prefix
argument or if the current major mode has no known group, prompt
for the MODE to customize."
(interactive
(list
(let ((completion-regexp-list '("-mode\\'"))
(group (custom-group-of-mode major-mode)))
(if (and group (not current-prefix-arg))
major-mode
(intern
(completing-read (format-prompt "Mode" (and group major-mode))
obarray
'custom-group-of-mode
t nil nil (if group (symbol-name major-mode))))))))
(customize-group (custom-group-of-mode mode)))