aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJim Blandy1993-02-01 22:19:52 +0000
committerJim Blandy1993-02-01 22:19:52 +0000
commitcbbc8d275ad58fc7a63ce94b7ef6bcd688359a00 (patch)
tree5b636d5ff190e310aff79c4981e5e29e49608335 /lisp
parent7b1437089b7e150384e271233b0447d05e7247d5 (diff)
downloademacs-cbbc8d275ad58fc7a63ce94b7ef6bcd688359a00.tar.gz
emacs-cbbc8d275ad58fc7a63ce94b7ef6bcd688359a00.zip
* 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."
224 (set-syntax-table texinfo-mode-syntax-table) 224 (set-syntax-table texinfo-mode-syntax-table)
225 (make-local-variable 'require-final-newline) 225 (make-local-variable 'require-final-newline)
226 (setq require-final-newline t) 226 (setq require-final-newline t)
227 (make-local-variable 'page-delimiter)
228 (setq page-delimiter texinfo-chapter-level-regexp)
227 (make-local-variable 'paragraph-separate) 229 (make-local-variable 'paragraph-separate)
228 (setq paragraph-separate (concat "^\b\\|^@[a-zA-Z]*[ \n]\\|" paragraph-separate)) 230 (setq paragraph-separate (concat "^\b\\|^@[a-zA-Z]*[ \n]\\|" paragraph-separate))
229 (make-local-variable 'paragraph-start) 231 (make-local-variable 'paragraph-start)