]> git.eshelyaron.com Git - emacs.git/commitdiff
lisp/gnus/gnus-art.el (gnus-mime-display-single): Avoid "End of buffer" error
authorKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 23 Feb 2015 02:40:12 +0000 (02:40 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 23 Feb 2015 02:40:12 +0000 (02:40 +0000)
lisp/gnus/ChangeLog
lisp/gnus/gnus-art.el

index 07d1d471b9f997d7ce11cdff19aacfd855d353c1..5f8b092c62adbe41d421171d3e2fabba111f6d8a 100644 (file)
@@ -1,3 +1,7 @@
+2015-02-23  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-art.el (gnus-mime-display-single): Avoid "End of buffer" error.
+
 2015-02-18  Eric Abrahamsen  <eric@ericabrahamsen.net>
 
        * nnimap.el (nnimap-get-groups): Correctly read unquoted group names
index 85030959f7931afb8f087f5a6d679423605098ea..83a2f941e9c5c41c8cd28d5b7719c63ecf8742a0 100644 (file)
@@ -6101,7 +6101,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)))