From 74046d00de64e9bd86184610539b0c4c8254d09a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 8 Feb 1993 22:25:34 +0000 Subject: (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. --- lisp/add-log.el | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lisp/add-log.el b/lisp/add-log.el index 0f4cc97347..0348c0bd4b 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el @@ -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 @@ Third arg OTHER-WINDOW non-nil means visit in other window." " " 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) -- cgit v1.2.3