comparison lisp/textmodes/texinfo.el @ 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 f79966ac4f9d
children fb0ed5a1d0f3
comparison
equal deleted inserted replaced
1832:f852ebc02465 1833:ce05243e2491
222 (setq major-mode 'texinfo-mode) 222 (setq major-mode 'texinfo-mode)
223 (use-local-map texinfo-mode-map) 223 (use-local-map texinfo-mode-map)
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)
230 (setq paragraph-start (concat "^\b\\|^@[a-zA-Z]*[ \n]\\|" paragraph-start)) 232 (setq paragraph-start (concat "^\b\\|^@[a-zA-Z]*[ \n]\\|" paragraph-start))
231 (make-local-variable 'fill-column) 233 (make-local-variable 'fill-column)