Commit cbbc8d27 authored by Jim Blandy's avatar Jim Blandy
Browse files

* texinfo.el (texinfo-mode): Make page-delimiter buffer-local, and

	set it according to texinfo-chapter-level-regexp.
parent 7b143708
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment