emacs: do not call `notmuch-hello-mode' on update
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Sun, 18 Dec 2011 00:21:21 +0000 (04:21 +0400)
committerDavid Bremner <bremner@debian.org>
Tue, 20 Dec 2011 11:42:31 +0000 (07:42 -0400)
commit59adb2da193efef806b37e2c85981024a39ee2e3
treeacac11045121f9b702075dfe31e7f48054181199
parent9928b5b50f44d66d02f422d1f6b6a1bca72a4580
emacs: do not call `notmuch-hello-mode' on update

`notmuch-hello' should call `notmuch-hello-mode' function only when
run for the first time.  But before the change, `notmuch-hello' used
`kill-all-local-variables' to remove editable widgets fields.  This
caused the major mode to be reset, and `notmuch-hello-mode' to be
called every time.

The patch manually deletes all editable widget fields and removes
`kill-all-local-variables' call.
emacs/notmuch-hello.el
test/emacs