[PATCH 1/2] emacs: Fix notmuch-hello-tag-list-make-query defcustom
Dmitry Kurochkin
dmitry.kurochkin at gmail.com
Fri Dec 16 04:22:07 PST 2011
Hi Jani.
On Fri, 23 Sep 2011 22:03:41 +0300, Jani Nikula <jani at nikula.org> wrote:
> It was not possible to define custom filters or filter functions because
> the types were const. Remove const to allow editing.
>
How about making "Unread messages" query configurable as well?
Regards,
Dmitry
> Signed-off-by: Jani Nikula <jani at nikula.org>
> ---
> emacs/notmuch-hello.el | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
> index 65fde75..ad1a13f 100644
> --- a/emacs/notmuch-hello.el
> +++ b/emacs/notmuch-hello.el
> @@ -66,8 +66,8 @@ 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")
> + (function :tag "Custom filter function"))
> :group 'notmuch)
>
> (defcustom notmuch-hello-hide-tags nil
> --
> 1.7.4.1
>
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
More information about the notmuch
mailing list