emacs: notmuch-mua.el: move all options into "Options" section

This is how we do it in other libraries.
This commit is contained in:
Jonas Bernoulli 2021-01-10 15:00:57 +01:00 committed by David Bremner
parent 37bb41a792
commit 7db6ed2dd4

View file

@ -82,6 +82,22 @@ If this is `nil' then no `User-Agent:' will be generated."
:type '(repeat string)
:group 'notmuch-send)
(defcustom notmuch-identities nil
"Identities that can be used as the From: address when composing a new message.
If this variable is left unset, then a list will be constructed from the
name and addresses configured in the notmuch configuration file."
:type '(repeat string)
:group 'notmuch-send)
(defcustom notmuch-always-prompt-for-sender nil
"Always prompt for the From: address when composing or forwarding a message.
This is not taken into account when replying to a message, because in that case
the From: header is already filled in by notmuch."
:type 'boolean
:group 'notmuch-send)
(defgroup notmuch-reply nil
"Replying to messages in notmuch"
:group 'notmuch)
@ -410,22 +426,6 @@ instead of `message-mode' and SWITCH-FUNCTION is mandatory."
(notmuch-mua-maybe-set-window-dedicated)
(message-goto-to))
(defcustom notmuch-identities nil
"Identities that can be used as the From: address when composing a new message.
If this variable is left unset, then a list will be constructed from the
name and addresses configured in the notmuch configuration file."
:type '(repeat string)
:group 'notmuch-send)
(defcustom notmuch-always-prompt-for-sender nil
"Always prompt for the From: address when composing or forwarding a message.
This is not taken into account when replying to a message, because in that case
the From: header is already filled in by notmuch."
:type 'boolean
:group 'notmuch-send)
(defvar notmuch-mua-sender-history nil)
(defun notmuch-mua-prompt-for-sender ()