emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 190f2db786 1/2: Fix buffer-start cleanup in message-indent-citati


From: Lars Ingebrigtsen
Subject: master 190f2db786 1/2: Fix buffer-start cleanup in message-indent-citation
Date: Tue, 16 Aug 2022 09:01:57 -0400 (EDT)

branch: master
commit 190f2db78606c3afc35d72902f52d6eec206642e
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix buffer-start cleanup in message-indent-citation
    
    * lisp/gnus/message.el (message-indent-citation): Fix thinko in loop.
---
 lisp/gnus/message.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 90d8a744de..ad74d2f129 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]