Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
17ff7a27
Commit
17ff7a27
authored
Nov 06, 2000
by
Stefan Monnier
Browse files
(texinfo-chapter-level-regexp): Remove.
(texinfo-mode): Hard code texinfo-chapter-level-regexp.
parent
cdb1fe49
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
lisp/textmodes/texinfo.el
lisp/textmodes/texinfo.el
+1
-8
No files found.
lisp/textmodes/texinfo.el
View file @
17ff7a27
...
...
@@ -438,13 +438,6 @@ chapter."
;;; Texinfo mode
;; Also defined in texnfo-upd.el but copied here to avoid having
;; to require texnfo-upd.el.
(
defvar
texinfo-chapter-level-regexp
"chapter\\|unnumbered \\|appendix \\|majorheading\\|chapheading"
"Regular expression matching Texinfo chapter-level headings.
This does not match `@node' and does not match the `@top' command."
)
;;;###autoload
(
define-derived-mode
texinfo-mode
text-mode
"Texinfo"
"Major mode for editing Texinfo files.
...
...
@@ -516,7 +509,7 @@ value of `texinfo-mode-hook'."
(
setq
page-delimiter
(
concat
"^@node [ \t]*[Tt]op\\|^@\\("
texinfo-chapter-level-regexp
"chapter\\|unnumbered \\|appendix \\|majorheading\\|chapheading"
"\\)"
))
(
make-local-variable
'require-final-newline
)
(
setq
require-final-newline
t
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment