changeset 1833:ce05243e2491

* texinfo.el (texinfo-mode): Make page-delimiter buffer-local, and set it according to texinfo-chapter-level-regexp.
author Jim Blandy <jimb@redhat.com>
date Mon, 01 Feb 1993 22:19:52 +0000
parents f852ebc02465
children 9a1f696c1734
files lisp/textmodes/texinfo.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/texinfo.el	Sun Jan 31 20:48:19 1993 +0000
+++ b/lisp/textmodes/texinfo.el	Mon Feb 01 22:19:52 1993 +0000
@@ -224,6 +224,8 @@
   (set-syntax-table texinfo-mode-syntax-table)
   (make-local-variable 'require-final-newline)
   (setq require-final-newline t)
+  (make-local-variable 'page-delimiter)
+  (setq page-delimiter texinfo-chapter-level-regexp)
   (make-local-variable 'paragraph-separate)
   (setq paragraph-separate (concat "^\b\\|^@[a-zA-Z]*[ \n]\\|" paragraph-separate))
   (make-local-variable 'paragraph-start)