Mercurial > emacs
diff lisp/textmodes/texnfo-upd.el @ 34373:93a6ef17b7f3
(texinfo-chapter-level-regexp)
(texinfo-filter): Removed (moved to texinfo.el).
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 08 Dec 2000 16:35:04 +0000 |
parents | e2ec8e65cd35 |
children | 65461941776d |
line wrap: on
line diff
--- a/lisp/textmodes/texnfo-upd.el Fri Dec 08 16:31:50 2000 +0000 +++ b/lisp/textmodes/texnfo-upd.el Fri Dec 08 16:35:04 2000 +0000 @@ -1122,15 +1122,6 @@ "^@\\(chapter \\|sect\\|subs\\|subh\\|unnum\\|major\\|chapheading \\|heading \\|appendix\\)" "Regexp matching chapter, section, other headings (but not the top node).") -(defun texinfo-filter (section list) - (let (res) - (dolist (x list) (if (eq section (cadr x)) (push (car x) res))) - res)) - -(defvar texinfo-chapter-level-regexp - (regexp-opt (texinfo-filter 2 texinfo-section-list)) - "Regular expression matching just the Texinfo chapter level headings.") - (defvar texinfo-section-level-regexp (regexp-opt (texinfo-filter 3 texinfo-section-list)) "Regular expression matching just the Texinfo section level headings.")