From: Lars Ingebrigtsen Date: Tue, 16 Aug 2022 12:58:43 +0000 (+0200) Subject: Fix buffer-start cleanup in message-indent-citation X-Git-Tag: emacs-29.0.90~1447^2~120 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=190f2db78606c3afc35d72902f52d6eec206642e;p=emacs.git Fix buffer-start cleanup in message-indent-citation * lisp/gnus/message.el (message-indent-citation): Fix thinko in loop. --- diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 90d8a744dec..ad74d2f1297 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -3928,9 +3928,8 @@ However, if `message-yank-prefix' is non-nil, insert that prefix on each line." (goto-char start) (forward-line 1)))) ;; Delete blank lines at the start of the buffer. - (while (and (point-min) - (eolp) - (not (eobp))) + (goto-char (point-min)) + (while (and (eolp) (not (eobp))) (message-delete-line)) ;; Delete blank lines at the end of the buffer. (goto-char (point-max))