diff options
| author | Stefan Monnier | 2000-12-08 16:35:24 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2000-12-08 16:35:24 +0000 |
| commit | 5002ddbb2e04f1fdc4228758d4a97ef045129b6b (patch) | |
| tree | bbb29d268c83801f2f6d56478727e6a8a76d2bbd /lisp | |
| parent | a11609d8c3c1df07c3e77726cfd2db82a7dbc560 (diff) | |
| download | emacs-5002ddbb2e04f1fdc4228758d4a97ef045129b6b.tar.gz emacs-5002ddbb2e04f1fdc4228758d4a97ef045129b6b.zip | |
(texinfo-chapter-level-regexp)
(texinfo-filter): Removed (moved to texinfo.el).
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 16 | ||||
| -rw-r--r-- | lisp/textmodes/texnfo-upd.el | 9 |
2 files changed, 16 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 34d63e4b520..1db6c2539eb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2000-12-08 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2 | |||
| 3 | * textmodes/texnfo-upd.el (texinfo-chapter-level-regexp) | ||
| 4 | (texinfo-filter): Removed (moved to texinfo.el). | ||
| 5 | |||
| 6 | * textmodes/texinfo.el: Move the (require 'cl) to the front of the | ||
| 7 | file where it's more visible. | ||
| 8 | (texinfo-filter, texinfo-chapter-level-regexp): New variables | ||
| 9 | moved from texnfo-upd.el (for AUCTeX's compatibility, originally). | ||
| 10 | (texinfo-mode): Use texinfo-chapter-level-regexp for page-delimiter. | ||
| 11 | (texinfo-inside-macro-p): Only catch `scan-error's. | ||
| 12 | (texinfo-inside-env-p): Make better use of the match info. | ||
| 13 | (texinfo-insert-quote): Collapse calls to `texinfo-inside-macro-p'. | ||
| 14 | (texinfo-insert-@end): Slight re-organization. | ||
| 15 | Also remove useless `looking-at' call. | ||
| 16 | |||
| 1 | 2000-12-08 Andrew Innes <andrewi@gnu.org> | 17 | 2000-12-08 Andrew Innes <andrewi@gnu.org> |
| 2 | 18 | ||
| 3 | * w32-fns.el: Add clipboard support from term/w32-win.el, so it is | 19 | * w32-fns.el: Add clipboard support from term/w32-win.el, so it is |
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.") |