summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-02-01 22:19:52 +0000
committerJim Blandy <jimb@redhat.com>1993-02-01 22:19:52 +0000
commitcbbc8d275ad58fc7a63ce94b7ef6bcd688359a00 (patch)
tree5b636d5ff190e310aff79c4981e5e29e49608335 /lisp
parent7b1437089b7e150384e271233b0447d05e7247d5 (diff)
downloademacs-cbbc8d275ad58fc7a63ce94b7ef6bcd688359a00.tar.gz
* texinfo.el (texinfo-mode): Make page-delimiter buffer-local, and
set it according to texinfo-chapter-level-regexp.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/textmodes/texinfo.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index 359d7acbc18..0427b5582a8 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -224,6 +224,8 @@ value of texinfo-mode-hook."
(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)