emacs: Remove the notmuch-hellow-jump-to-search variable.

Instead, make notmuch-hello unconditionally jump to the first widget
in the buffer. By default this will be the search bar anyway.
This commit is contained in:
Carl Worth 2010-04-26 18:17:06 -07:00
parent 652e92c6cc
commit 1c17dda5d5

View file

@ -64,12 +64,6 @@
"Background colour for the notmuch logo."
:group 'notmuch)
(defcustom notmuch-hello-jump-to-search nil
"Whether `notmuch-hello' should always jump to the search
field."
:type 'boolean
:group 'notmuch)
(defvar notmuch-hello-url "http://notmuchmail.org"
"The `notmuch' web site.")
@ -370,9 +364,9 @@ diagonal."
(if final-target-pos
(goto-char final-target-pos)
(if notmuch-hello-jump-to-search
(notmuch-hello-goto-search)
(goto-char (point-min))))))
(progn
(goto-char (point-min))
(widget-forward 1)))))
;;