From 882a58de5fdfb8500ef3d75189299dadba2c96d0 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sat, 21 Nov 2009 00:58:16 +0100 Subject: [PATCH] notmuch.el: Don't use end-of-buffer which is inappropriate from programs The documentation is quite clear about this case. With this, we can now byte compile without warnings. --- notmuch.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notmuch.el b/notmuch.el index 0e4c7813..cd3780fa 100644 --- a/notmuch.el +++ b/notmuch.el @@ -772,10 +772,10 @@ thread from that buffer can be show when done with this one)." (goto-char (window-start)) (scroll-down nil))) -(defun notmuch-search-goto-last-thread (&optional arg) +(defun notmuch-search-goto-last-thread () "Move point to the last thread in the buffer." - (interactive "^P") - (end-of-buffer arg) + (interactive) + (goto-char (point-max)) (forward-line -1)) ;;;###autoload -- 2.26.2