]> granicus.if.org Git - neomutt/commit
notmuch: use global settings for vfolder-from-query
authorJosh Poimboeuf <jpoimboe@redhat.com>
Thu, 31 May 2018 21:58:02 +0000 (16:58 -0500)
committerRichard Russon <rich@flatcap.org>
Mon, 8 Oct 2018 12:49:05 +0000 (13:49 +0100)
commit43f0dfd2585bf2384df95d184f06778e179b4dff
tree4d574572f304b389faab6187f56abd6a7d9b559b
parent30931b239c2962d42fc7c052f3268fe604bf3e8d
notmuch: use global settings for vfolder-from-query

When the <vfolder-from-query> command is run while already in a vfolder,
it takes the current vfolder as context.  That means the global settings
(nm_query_type, nm_db_limit, nm_default_uri) are ignored in favor of the
current vfolder's settings.  This is confusing behavior because the new
vfolder is otherwise independent from the old one.

Set the nm_uri_from_query() context to NULL so that it uses the global
settings instead.
curs_main.c