# HG changeset patch # User Stephen Eglen # Date 935345398 0 # Node ID d593a9e28430d71101a894c40f358ad4dbcb3a7a # Parent bf04882442708a5609cfdb74435646271b26ca70 Octave-mode support: for the function index entries, allow the prefix to also match optional return value list of form `[X Y ... Z] = '. diff -r bf0488244270 -r d593a9e28430 lisp/info-look.el --- a/lisp/info-look.el Sun Aug 22 12:00:17 1999 +0000 +++ b/lisp/info-look.el Sun Aug 22 18:09:58 1999 +0000 @@ -761,7 +761,8 @@ (info-lookup-maybe-add-help :mode 'octave-mode :regexp "[_a-zA-Z0-9]+" - :doc-spec '(("(octave)Function Index" nil "^ - [^:]+:[ ]+" nil) + :doc-spec '(("(octave)Function Index" nil + "^ - [^:]+:[ ]+\\(\\[[^=]*=[ ]+\\)?" nil) ("(octave)Variable Index" nil "^ - [^:]+:[ ]+" nil) ;; Catch lines of the form "xyz statement" ("(octave)Concept Index"