* message.el (message-indent-citation): Revert last change which made `F' not work.
authorLars Magne Ingebrigtsen <larsi@stories.gnus.org>
Wed, 21 Sep 2011 14:10:39 +0000 (16:10 +0200)
committerLars Magne Ingebrigtsen <larsi@stories.gnus.org>
Wed, 21 Sep 2011 14:10:39 +0000 (16:10 +0200)
lisp/ChangeLog
lisp/message.el

index e776c78..bdfa899 100644 (file)
@@ -1,3 +1,8 @@
+2011-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * message.el (message-indent-citation): Revert last change which made
+       `F' not work.
+
 2011-09-13  Kan-Ru Chen  <kanru@kanru.info>
 
        * ecomplete.el (ecomplete-display-matches): Intercept key sequence from
index 51c3864..0183b87 100644 (file)
@@ -3723,9 +3723,10 @@ However, if `message-yank-prefix' is non-nil, insert that prefix on each line."
       (message-delete-line))
     ;; Delete blank lines at the end of the buffer.
     (goto-char (point-max))
-    (beginning-of-line)
-    (while (and (looking-at "$")
-               (zerop (forward-line -1)))
+    (unless (eolp)
+      (insert "\n"))
+    (while (and (zerop (forward-line -1))
+               (looking-at "$"))
       (message-delete-line)))
   ;; Do the indentation.
   (if (null message-yank-prefix)