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
054e5c20
Commit
054e5c20
authored
Sep 29, 1998
by
Stephen Eglen
Browse files
Add support for Octave.
parent
1e5a4438
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
lisp/info-look.el
lisp/info-look.el
+14
-0
No files found.
lisp/info-look.el
View file @
054e5c20
...
...
@@ -752,6 +752,20 @@ Return nil if there is nothing appropriate."
:doc-spec
'
((
"(r5rs)Index"
nil
"^[ \t]+- [^:]+:[ \t]*"
"\\b"
)))
(
info-lookup-maybe-add-help
:mode
'octave-mode
:regexp
"[_a-zA-Z0-9]+"
:doc-spec
'
((
"(octave)Function Index"
nil
"^ - [^:]+:[ ]+"
nil
)
(
"(octave)Variable Index"
nil
"^ - [^:]+:[ ]+"
nil
)
;; Catch lines of the form "xyz statement"
(
"(octave)Concept Index"
(
lambda
(
item
)
(
cond
((
string-match
"^\\([A-Z]+\\) statement\\b"
item
)
(
match-string
1
item
))
(
t
nil
)))
nil
; "^ - [^:]+:[ ]+" don't think this prefix is useful here.
nil
)))
(
provide
'info-look
)
...
...
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