diff options
author | Mark Walters <markwalters1009@gmail.com> | 2014-04-16 22:21:53 +0100 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-04-21 21:48:41 +0900 |
commit | ae2888015e41174aa34203f397ffa034b56cfc61 (patch) | |
tree | b69e9f11670855bb2e3f5eca032b78bbf0624774 /test/README | |
parent | c3d54c4b54959633f2aee5e57ae21db71af15dbd (diff) |
emacs: hello: bugfix for saved searches defcustom
The recent changes for saved searches introduced a bug when notmuch
was loaded after the saved search was defined. This was caused by a
utility function not being defined when the defcustom was loaded.
Fix this by moving some code around: the defcustom is moved into
notmuch-hello (which is a more natural place anyway), and the utility
functions are moved before the defcustom in notmuch-hello. We are
rather constrained as the defcustom for saved searches is the first
variable in the notmuch-hello customize window; to avoid moving this
customize the defcustom needs to be the first defcustom in
notmuch-hello, and the utility functions come before that.
This patch also renames one of the utility functions from
notmuch--saved-searches-to-plist to
notmuch-hello--saved-searches-to-plist (as it is purely local to
notmuch-hello) and corrects a couple of typo/spelling mistakes pointed
out by Tomi.
Diffstat (limited to 'test/README')
0 files changed, 0 insertions, 0 deletions