mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-06 14:02:07 -08:00
Add support for Octave.
This commit is contained in:
parent
1e5a443809
commit
054e5c2010
1 changed files with 14 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue