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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
5002ddbb
Commit
5002ddbb
authored
Dec 08, 2000
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(texinfo-chapter-level-regexp)
(texinfo-filter): Removed (moved to texinfo.el).
parent
a11609d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
9 deletions
+16
-9
lisp/ChangeLog
lisp/ChangeLog
+16
-0
lisp/textmodes/texnfo-upd.el
lisp/textmodes/texnfo-upd.el
+0
-9
No files found.
lisp/ChangeLog
View file @
5002ddbb
2000-12-08 Stefan Monnier <monnier@cs.yale.edu>
* textmodes/texnfo-upd.el (texinfo-chapter-level-regexp)
(texinfo-filter): Removed (moved to texinfo.el).
* textmodes/texinfo.el: Move the (require 'cl) to the front of the
file where it's more visible.
(texinfo-filter, texinfo-chapter-level-regexp): New variables
moved from texnfo-upd.el (for AUCTeX's compatibility, originally).
(texinfo-mode): Use texinfo-chapter-level-regexp for page-delimiter.
(texinfo-inside-macro-p): Only catch `scan-error's.
(texinfo-inside-env-p): Make better use of the match info.
(texinfo-insert-quote): Collapse calls to `texinfo-inside-macro-p'.
(texinfo-insert-@end): Slight re-organization.
Also remove useless `looking-at' call.
2000-12-08 Andrew Innes <andrewi@gnu.org>
* w32-fns.el: Add clipboard support from term/w32-win.el, so it is
...
...
lisp/textmodes/texnfo-upd.el
View file @
5002ddbb
...
...
@@ -1122,15 +1122,6 @@ end of that region; it limits the search."
"^@\\(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."
)
...
...
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