summaryrefslogtreecommitdiff
path: root/lisp/log-edit.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2007-05-27 23:18:08 +0000
committerRichard M. Stallman <rms@gnu.org>2007-05-27 23:18:08 +0000
commit3d200243c3c7ddad8df941424a8f676dd81254b6 (patch)
treea3a1d14ceeb63f52b617f9e81f0b1a9d77c4beca /lisp/log-edit.el
parente285bb2789a893afe1017198a0388f82592647ae (diff)
downloademacs-3d200243c3c7ddad8df941424a8f676dd81254b6.tar.gz
(log-edit-changelog-paragraph): Return point-max as the end of the
ChangeLog paragraph when it ends without a line termination.
Diffstat (limited to 'lisp/log-edit.el')
-rw-r--r--lisp/log-edit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/log-edit.el b/lisp/log-edit.el
index ed0a5c464e9..8f63635ee49 100644
--- a/lisp/log-edit.el
+++ b/lisp/log-edit.el
@@ -538,7 +538,7 @@ If we are between paragraphs, return the previous paragraph."
(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.