aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.el
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-30 23:05:32 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-30 23:05:32 -0800
commit9ec9662ec74e1ed2f569d77008324d2a272749ae (patch)
tree72c1d4e8c52c9cbcada0cb90561e36cdf9431511 /notmuch.el
parent9e6ee30cbec3e24b04c1774b398e56858fa206e7 (diff)
notmuch.el: Avoid calling next/previous-line non-interactively.
Emacs always complains if we use these from lisp code.
Diffstat (limited to 'notmuch.el')
-rw-r--r--notmuch.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/notmuch.el b/notmuch.el
index 118c0ee7..28ef5c6b 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -158,7 +158,7 @@ Unlike builtin `next-line' this version accepts no arguments."
By advancing forward until reaching a visible character.
-Unlike builtin `next-line' this version accepts no arguments."
+Unlike builtin `previous-line' this version accepts no arguments."
(interactive)
(set 'this-command 'previous-line)
(call-interactively 'previous-line)
@@ -1007,12 +1007,12 @@ thread from that buffer can be show when done with this one)."
(defun notmuch-search-next-thread ()
"Select the next thread in the search results."
(interactive)
- (next-line))
+ (forward-line 1))
(defun notmuch-search-previous-thread ()
"Select the previous thread in the search results."
(interactive)
- (previous-line))
+ (forward-line -1))
(defun notmuch-search-last-thread ()
"Select the last thread in the search results."