# HG changeset patch # User Richard M. Stallman # Date 731097579 0 # Node ID ced6a5b2519d4c8c860b6b074915616f71f753f2 # Parent 656f4297962ef8b32676f31c66d32a1539a61079 (add-change-log-entry): Never move past second hdr line. diff -r 656f4297962e -r ced6a5b2519d lisp/add-log.el --- 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))