mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-25 19:04:53 +01:00
emacs: Fix notmuch-hello-tag-list-make-query defcustom
It was not possible to define custom filters or filter functions because the types were const. Remove const to allow editing. Signed-off-by: Jani Nikula <jani@nikula.org>
This commit is contained in:
parent
4e2fe89520
commit
2f7f259d62
1 changed files with 3 additions and 2 deletions
|
@ -86,8 +86,9 @@ Finally this can be a function that will be called for each tag and
|
|||
should return a filter for that tag, or nil to hide the tag."
|
||||
:type '(choice (const :tag "All messages" nil)
|
||||
(const :tag "Unread messages" "tag:unread")
|
||||
(const :tag "Custom filter" string)
|
||||
(const :tag "Custom filter function" function))
|
||||
(string :tag "Custom filter"
|
||||
:value "tag:unread")
|
||||
(function :tag "Custom filter function"))
|
||||
:group 'notmuch)
|
||||
|
||||
(defcustom notmuch-hello-hide-tags nil
|
||||
|
|
Loading…
Reference in a new issue