summaryrefslogtreecommitdiff
path: root/lisp/add-log.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1992-09-04 21:28:29 +0000
committerRichard M. Stallman <rms@gnu.org>1992-09-04 21:28:29 +0000
commit2c91c85ce0f831e6636e9152c6d05b1efe39d392 (patch)
treef2d153806d7e2a7a43e691d918ce3809f193ceb0 /lisp/add-log.el
parentd872b7483c74b8e03501db57e13c96e8df444d0d (diff)
downloademacs-2c91c85ce0f831e6636e9152c6d05b1efe39d392.tar.gz
*** empty log message ***
Diffstat (limited to 'lisp/add-log.el')
-rw-r--r--lisp/add-log.el9
1 files changed, 3 insertions, 6 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el
index d13f6958d1c..0d9832d26dd 100644
--- a/lisp/add-log.el
+++ b/lisp/add-log.el
@@ -195,12 +195,9 @@ Runs `change-log-mode-hook'."
(set (make-local-variable 'paragraph-start) "^\\s *$\\|^^L")
(set (make-local-variable 'paragraph-separate) "^\\s *$\\|^^L\\|^\\sw")
;; Let all entries for one day behave as one page.
- ;; Note that a page boundary is also a paragraph boundary.
- ;; Unfortunately the date line of a page actually belongs to
- ;; the next day, but I don't see how to avoid that since
- ;; page moving cmds go to the end of the match, and Emacs
- ;; regexps don't have a context feature.
- (set (make-local-variable 'page-delimiter) "^[A-Z][a-z][a-z] .*\n\\|^ ")
+ ;; Match null string on the date-line so that the date-line
+ ;; is grouped with what follows.
+ (set (make-local-variable 'page-delimiter) "^\\<\\|^ ")
(set (make-local-variable 'version-control) 'never)
(set (make-local-variable 'adaptive-fill-regexp) "\\s *")
(run-hooks 'change-log-mode-hook))