# HG changeset patch # User Richard M. Stallman # Date 737830339 0 # Node ID 573fc5cd81758bba699fd62cc715edc67612d689 # Parent 510a7ebce5643bf45040b5b1a338c38a179885b1 (texinfo-chapter-level-regexp): Copied here. diff -r 510a7ebce564 -r 573fc5cd8175 lisp/textmodes/texinfo.el --- a/lisp/textmodes/texinfo.el Wed May 19 16:50:17 1993 +0000 +++ b/lisp/textmodes/texinfo.el Wed May 19 16:52:19 1993 +0000 @@ -1,6 +1,6 @@ ;;; texinfo.el --- major mode for editing Texinfo files. -;; Copyright (C) 1985, 1988, 1989, 1990 Free Software Foundation, Inc. +;; Copyright (C) 1985, 1988, 1989, 1990, 1993 Free Software Foundation, Inc. ;; Author: Bob Chassell ;; Version: 2.00 @@ -26,6 +26,10 @@ ;;; Don't you dare insert any `require' calls at top level in this file--rms. +(defvar texinfo-chapter-level-regexp + "chapter\\|unnumbered \\|appendix \\|majorheading\\|chapheading" + "Regular expression matching just the Texinfo chapter level headings.") + (defvar texinfo-mode-syntax-table nil) (if texinfo-mode-syntax-table