From: Carl Worth Date: Mon, 30 Nov 2009 17:48:15 +0000 (-0800) Subject: notmuch.el: Don't use beginning-of-buffer from elisp program. X-Git-Tag: 0.1~292 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0671436872a37589003860ab31bac40ed04a7cce;p=notmuch.git notmuch.el: Don't use beginning-of-buffer from elisp program. This silences a warning when compiling notmuch.el. The documentation of beginning-of-buffer does say (rather emphatically) that it's not to be used from lisp programs. --- diff --git a/notmuch.el b/notmuch.el index 65473ba7..9b23e351 100644 --- a/notmuch.el +++ b/notmuch.el @@ -877,7 +877,7 @@ thread from that buffer can be show when done with this one)." (setq btn (forward-button 1)) (error (setq btn nil))) )) - (beginning-of-buffer) + (goto-char (point-min)) )))) )))