changeset 77816:dc4ad0560c91

(log-edit-changelog-paragraph): Return point-max as the end of the ChangeLog paragraph when it ends without a line termination.
author Richard M. Stallman <rms@gnu.org>
date Sun, 27 May 2007 23:17:32 +0000
parents ab566d842488
children 8424b9c6d741
files lisp/log-edit.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/log-edit.el	Sun May 27 02:23:53 2007 +0000
+++ b/lisp/log-edit.el	Sun May 27 23:17:32 2007 +0000
@@ -538,7 +538,7 @@
             (point))
           (if (re-search-forward "^[ \t\n]*$" nil t)
               (match-beginning 0)
-            (point)))))
+            (point-max)))))
 
 (defun log-edit-changelog-subparagraph ()
   "Return the bounds of the ChangeLog subparagraph containing point.