Merge pull request #2457 from RuijieYu/fix-defcustom-warnings

Fix defcustom type definitions
This commit is contained in:
Dirk-Jan C. Binnema
2023-04-01 19:14:46 +03:00
committed by GitHub
7 changed files with 26 additions and 9 deletions

View File

@ -105,13 +105,20 @@ one of: `:date', `:subject', `:size', `:prio', `:from', `:to.',
Note that when threading is enabled (through
`mu4e-search-threads'), the headers are exclusively sorted
chronologically (`:date') by the newest message in the thread."
:type 'symbol
:type '(radio (const :date)
(const :subject)
(const :size)
(const :prio)
(const :from)
(const :to)
(const :list))
:group 'mu4e-search)
(defcustom mu4e-search-sort-direction 'descending
"Direction to sort by; a symbol either `descending' (sorting
Z->A) or `ascending' (sorting A->Z)."
:type 'symbol
:type '(radio (const ascending)
(const descending))
:group 'mu4e-search)
;; mu4e-query-rewrite-function lives in mu4e-query-items.el