changeset 25364:d593a9e28430

Octave-mode support: for the function index entries, allow the prefix to also match optional return value list of form `[X Y ... Z] = '.
author Stephen Eglen <stephen@gnu.org>
date Sun, 22 Aug 1999 18:09:58 +0000
parents bf0488244270
children f32071216123
files lisp/info-look.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"