mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
notmuch.el: Avoid calling next/previous-line non-interactively.
Emacs always complains if we use these from lisp code.
This commit is contained in:
parent
9e6ee30cbe
commit
9ec9662ec7
1 changed files with 3 additions and 3 deletions
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue