Function: gnus-draft-mode
gnus-draft-mode is an autoloaded, interactive and byte-compiled
function defined in gnus-draft.el.gz.
Signature
(gnus-draft-mode &optional ARG)
Documentation
Minor mode for providing a draft summary buffers.
D S gnus-draft-send-all-messages
D e gnus-draft-edit-message
D s gnus-draft-send-message
D t gnus-draft-toggle-sending
e gnus-draft-edit-message
This is a minor mode. If called interactively, toggle the
Gnus-Draft mode mode. If the prefix argument is positive,
enable the mode, and if it is zero or negative, disable the mode.
If called from Lisp, toggle the mode if ARG is toggle. Enable
the mode if ARG is nil, omitted, or is a positive number.
Disable the mode if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate gnus-draft-mode(var)/gnus-draft-mode(fun).
The mode's hook is called both when the mode is enabled and when it is disabled.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-draft.el.gz
(define-minor-mode gnus-draft-mode
"Minor mode for providing a draft summary buffers.
\\{gnus-draft-mode-map}"
:lighter " Draft" :keymap gnus-draft-mode-map
(cond
((not (derived-mode-p 'gnus-summary-mode)) (setq gnus-draft-mode nil))
(gnus-draft-mode
;; Set up the menu.
(when (gnus-visual-p 'draft-menu 'menu)
(gnus-draft-make-menu-bar))
(add-hook 'gnus-summary-prepare-exit-hook #'gnus-draft-clear-marks t t))))