diff options
author | Carl Worth <cworth@cworth.org> | 2010-04-26 18:17:06 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-04-26 18:40:55 -0700 |
commit | 1c17dda5d5443aba22a115d0ac16d3e162c1a65f (patch) | |
tree | c9ae7f39b9e0563a138f6dfd0ff96d50ae7c7276 | |
parent | 652e92c6cc5c9e905e205deffb75a20cc85a38d6 (diff) |
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.
-rw-r--r-- | emacs/notmuch-hello.el | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 1b33ef7..033a30a 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))))) ;; |