[gnus git] branch master updated: n0-17-322-g1755f6d =1= * message.el (message-indent-citation): Really make sure there's a newline at the end.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  1755f6d1a199e6c6a3b69be291dfcf550ff68ae3 (commit)
      from  c88fde1f419d4eff2a4215329df7eb76311e8166 (commit)


- Log -----------------------------------------------------------------
commit 1755f6d1a199e6c6a3b69be291dfcf550ff68ae3
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Wed Sep 21 21:54:37 2011 +0200

    * message.el (message-indent-citation): Really make sure there's a newline at the end.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 732e2ca..1984ead 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
 2011-09-21  Lars Magne Ingebrigtsen  <[email protected]>
 
+	* message.el (message-indent-citation): Really make sure there's a
+	newline at the end.
+
 	* nnimap.el (nnimap-parse-flags): Make regexp less prone to overflows.
 	Fix suggested by John Wiegley.
 
diff --git a/lisp/message.el b/lisp/message.el
index 2fc774f..c6ea7ad 100644
--- a/lisp/message.el
+++ b/lisp/message.el
@@ -3723,7 +3723,7 @@ 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))
-    (unless (eolp)
+    (unless (eq (preceding-char) ?\n)
       (insert "\n"))
     (while (and (zerop (forward-line -1))
 		(looking-at "$"))

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog  |    3 +++
 lisp/message.el |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.