aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorStefan Monnier2000-12-08 16:35:24 +0000
committerStefan Monnier2000-12-08 16:35:24 +0000
commit5002ddbb2e04f1fdc4228758d4a97ef045129b6b (patch)
treebbb29d268c83801f2f6d56478727e6a8a76d2bbd /lisp/textmodes
parenta11609d8c3c1df07c3e77726cfd2db82a7dbc560 (diff)
downloademacs-5002ddbb2e04f1fdc4228758d4a97ef045129b6b.tar.gz
emacs-5002ddbb2e04f1fdc4228758d4a97ef045129b6b.zip
(texinfo-chapter-level-regexp)
(texinfo-filter): Removed (moved to texinfo.el).
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/texnfo-upd.el9
1 files changed, 0 insertions, 9 deletions
diff --git a/lisp/textmodes/texnfo-upd.el b/lisp/textmodes/texnfo-upd.el
index 0c59eadfcc7..f964e411aa6 100644
--- a/lisp/textmodes/texnfo-upd.el
+++ b/lisp/textmodes/texnfo-upd.el
@@ -1122,15 +1122,6 @@ end of that region; it limits the search."
1122 "^@\\(chapter \\|sect\\|subs\\|subh\\|unnum\\|major\\|chapheading \\|heading \\|appendix\\)" 1122 "^@\\(chapter \\|sect\\|subs\\|subh\\|unnum\\|major\\|chapheading \\|heading \\|appendix\\)"
1123 "Regexp matching chapter, section, other headings (but not the top node).") 1123 "Regexp matching chapter, section, other headings (but not the top node).")
1124 1124
1125(defun texinfo-filter (section list)
1126 (let (res)
1127 (dolist (x list) (if (eq section (cadr x)) (push (car x) res)))
1128 res))
1129
1130(defvar texinfo-chapter-level-regexp
1131 (regexp-opt (texinfo-filter 2 texinfo-section-list))
1132 "Regular expression matching just the Texinfo chapter level headings.")
1133
1134(defvar texinfo-section-level-regexp 1125(defvar texinfo-section-level-regexp
1135 (regexp-opt (texinfo-filter 3 texinfo-section-list)) 1126 (regexp-opt (texinfo-filter 3 texinfo-section-list))
1136 "Regular expression matching just the Texinfo section level headings.") 1127 "Regular expression matching just the Texinfo section level headings.")