[gnus git] branch master updated: m0-11-171-g6b2fa8f =1= gnus-art.el (gnus-mime-display-single): Avoid "End of buffer" error

Katsumi <[email protected]> Mon, 23 Feb 2015 03:40:24 +0100
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  6b2fa8fc38e3c09d57a636188553183aec8a0948 (commit)
      from  ce17b265e913e74910906cc65d39de0057f56883 (commit)


- Log -----------------------------------------------------------------
commit 6b2fa8fc38e3c09d57a636188553183aec8a0948
Author: Katsumi Yamaoka <[email protected]>
Date:   Mon Feb 23 02:40:10 2015 +0000

    gnus-art.el (gnus-mime-display-single): Avoid "End of buffer" error

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 99743b8..b6a24f1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2015-02-23  Katsumi Yamaoka  <[email protected]>
+
+	* gnus-art.el (gnus-mime-display-single): Avoid "End of buffer" error.
+
 2015-02-16  Katsumi Yamaoka  <[email protected]>
 
 	* sasl-scram-rfc.el (sasl-cl-coerce, sasl-cl-mapcar-many, sasl-cl-map)
diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index c9197e4..e4456d9 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -6102,7 +6102,7 @@ If nil, don't show those extra buttons."
 	      (gnus-article-insert-newline)
 	    (if (prog1
 		    (= (skip-chars-backward "\n") -1)
-		  (forward-char 1))
+		  (unless (eobp) (forward-char 1)))
 		(gnus-article-insert-newline)
 	      (put-text-property (point) (point-max) 'gnus-undeletable t))
 	    (goto-char (point-max)))

-----------------------------------------------------------------------
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   |    4 ++++
 lisp/gnus-art.el |    2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

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