Mercurial > emacs
changeset 1847:63af9f715bd3
(add-change-log-entry): Undo Jan 25 change. It worked for buffers in
indented-text-mode, but lost for change-log-mode, which is what matters.
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Mon, 08 Feb 1993 22:25:34 +0000 |
parents | 19c13118ba0c |
children | 94f7516ccdc1 |
files | lisp/add-log.el |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/add-log.el Mon Feb 08 20:46:10 1993 +0000 +++ b/lisp/add-log.el Mon Feb 08 22:25:34 1993 +0000 @@ -1,6 +1,6 @@ ;;; add-log.el --- change log maintenance commands for Emacs -;; Copyright (C) 1985, 86, 87, 88, 89, 90, 91, 1992 +;; Copyright (C) 1985, 86, 87, 88, 89, 90, 91, 1992, 1993 ;; Free Software Foundation, Inc. ;; This file is part of GNU Emacs. @@ -112,14 +112,10 @@ " " full-name " (" login-name "@" site-name ")\n\n")) - ;; Search only within the first paragraph of the first page. + ;; Search only within the first paragraph. (forward-paragraph 1) (setq paragraph-end (point)) (goto-char (point-min)) - (forward-page 1) - (if (< (point) paragraph-end) - (setq paragraph-end (point))) - (goto-char (point-min)) ;; Now insert the new line for this entry. (cond ((re-search-forward "^\\s *\\*\\s *$" paragraph-end t)