Mark Walters <markwalters1009@gmail.com> writes: > --- > Hi > > David found a bug in the recent notmuch hello saved searches and > reduced to a small test case. The problem occurs if the user sets > notmuch-saved-searches and then loads notmuch. The reason is that the > defcustom calls some utility functions and these need to be defined > (not just declared) when the defcustom is encountered. > > This patch moves the code around so that they are defined first. I > have marked the patch WIP as I am not sure what the best reordering > is, and we may want to rename some functions which have changed file > for namespace reasons. > > Anyway this fixes the test case. If it fixes the original bug too then > I will provide a better version. Hi Mark; This fixes the problem for me. Thanks for your efforts, d