diff options
| author | Stephen Eglen | 1999-08-22 18:09:58 +0000 |
|---|---|---|
| committer | Stephen Eglen | 1999-08-22 18:09:58 +0000 |
| commit | 57f3e9c9f6316042b10481648c02837c915ca085 (patch) | |
| tree | 1ecbdbf6fce177aff61b4942ec4a185d5d59d552 /lisp | |
| parent | 8938a4fbb4835e13f867fc249595e615cb7bc610 (diff) | |
| download | emacs-57f3e9c9f6316042b10481648c02837c915ca085.tar.gz emacs-57f3e9c9f6316042b10481648c02837c915ca085.zip | |
Octave-mode support: for the function index entries, allow the prefix
to also match optional return value list of form `[X Y ... Z] = '.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/info-look.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/info-look.el b/lisp/info-look.el index df4cfad4455..dc9cb0bec81 100644 --- a/lisp/info-look.el +++ b/lisp/info-look.el | |||
| @@ -761,7 +761,8 @@ Return nil if there is nothing appropriate in the buffer near point." | |||
| 761 | (info-lookup-maybe-add-help | 761 | (info-lookup-maybe-add-help |
| 762 | :mode 'octave-mode | 762 | :mode 'octave-mode |
| 763 | :regexp "[_a-zA-Z0-9]+" | 763 | :regexp "[_a-zA-Z0-9]+" |
| 764 | :doc-spec '(("(octave)Function Index" nil "^ - [^:]+:[ ]+" nil) | 764 | :doc-spec '(("(octave)Function Index" nil |
| 765 | "^ - [^:]+:[ ]+\\(\\[[^=]*=[ ]+\\)?" nil) | ||
| 765 | ("(octave)Variable Index" nil "^ - [^:]+:[ ]+" nil) | 766 | ("(octave)Variable Index" nil "^ - [^:]+:[ ]+" nil) |
| 766 | ;; Catch lines of the form "xyz statement" | 767 | ;; Catch lines of the form "xyz statement" |
| 767 | ("(octave)Concept Index" | 768 | ("(octave)Concept Index" |