Fix defcustom type definitions
So that the type definitions reflects the docstrings more closely. In additon,
fixed warnings from flymake about docstring.
* mu4e/mu4e-draft.el
mu4e-compose-keep-self-cc: should be a comma
* mu4e/mu4e-folders.el
mu4e-maildir-shortcuts: recognize new (plist) format
* mu4e/mu4e-helpers.el
mu4e-debug: removed unnecessary double space in docstring
* mu4e/mu4e-query-items.el
mu4e-query-rewrite-function: prepend "\\=" before column 0 "(" in docstring
* mu4e/mu4e-search.el
mu4e-search-sort-field mu4e-search-sort-direction: used radio in types
* mu4e/mu4e-server.el
mu4e-mu-binary: "mu" executable must exist
* mu4e/mu4e-view.el
mu4e-view-fields: fixed type
mu4e-view-actions: for function refs, prefer "#'" rather than "'"
This commit is contained in:
@ -116,7 +116,17 @@ designated shortcut character for the maildir.
|
||||
|
||||
Unlike in search queries, folder names with spaces in them must
|
||||
NOT be quoted, since mu4e does this for you."
|
||||
:type '(repeat (cons (string :tag "Maildir") character))
|
||||
:type '(choice
|
||||
(alist :key-type (string :tag "Maildir")
|
||||
:value-type character
|
||||
:tag "Alist (old format)")
|
||||
(repeat (plist
|
||||
:key-type (choice (const :tag "Maildir" :maildir)
|
||||
(const :tag "Shortcut" :key)
|
||||
(const :tag "Name of maildir" :name)
|
||||
(const :tag "Hide from main view" :hide)
|
||||
(const :tag "Do not count" :hide-unread))
|
||||
:tag "Plist (new format)")))
|
||||
:version "1.3.9"
|
||||
:group 'mu4e-folders)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user