From 1c17dda5d5443aba22a115d0ac16d3e162c1a65f Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 26 Apr 2010 18:17:06 -0700 Subject: [PATCH] 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. --- emacs/notmuch-hello.el | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 1b33ef75..033a30a9 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -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))))) ;; -- 2.43.0