Mercurial > emacs
diff lisp/add-log.el @ 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 | 02bb7721b67c |
children | 2c7997f249eb |
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))