changeset 1999:ced6a5b2519d

(add-change-log-entry): Never move past second hdr line.
author Richard M. Stallman <rms@gnu.org>
date Tue, 02 Mar 1993 18:39:39 +0000
parents 656f4297962e
children cf8515fda17b
files lisp/add-log.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/add-log.el	Tue Mar 02 17:21:05 1993 +0000
+++ b/lisp/add-log.el	Tue Mar 02 18:39:39 1993 +0000
@@ -113,7 +113,9 @@
 	      "  (" login-name "@" site-name ")\n\n"))
 
     ;; Search only within the first paragraph.
-    (forward-paragraph 1)
+    (if (looking-at "\n*[^\n* \t]")
+	(skip-chars-forward "\n")
+      (forward-paragraph 1))
     (setq paragraph-end (point))
     (goto-char (point-min))