emacs: wrap current search in parens when filtering
authorUli Scholler <uli@scholler.net>
Sun, 6 Sep 2015 21:29:05 +0000 (23:29 +0200)
committerDavid Bremner <david@tethera.net>
Mon, 7 Sep 2015 12:27:09 +0000 (09:27 -0300)
commit9a5143abbcfbb008f846329b5c50b9322af5322a
tree0af117bed11f97e55ccfeeb082fbf78589a0c8cc
parentbd5504ec10edf6a1442d92774dc06fafc0b46e3f
emacs: wrap current search in parens when filtering

When filtering the current search further with notmuch-search-filter,
wrap the current search in parens (if necessary).

This fixes unexpected behavior when the current search is
complex (like "(tag:this and date:one_week_ago..) or tag:that").
emacs/notmuch.el