From: Dave Love Date: Tue, 9 Jan 2001 15:19:47 +0000 (+0000) Subject: (sh-imenu-generic-expression): Fix doc, X-Git-Tag: emacs-pretest-21.0.95~13 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=83c5d68f535527df65ca5e38beb3c74107d7cdec;p=emacs.git (sh-imenu-generic-expression): Fix doc, :type. --- diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 375806068d6..d99e3130870 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -321,10 +321,14 @@ shell it really is." (defcustom sh-imenu-generic-expression `((sh . ((nil "^\\s-*\\(function\\s-+\\)?\\([A-Za-z_][A-Za-z_0-9]+\\)\\s-*()" 2)))) - "*Regular expression for recognizing shell function definitions. -See `sh-feature'." - :type '(repeat (cons (symbol :tag "Shell") - regexp)) + "*Alist of regular expressions for recognizing shell function definitions. +See `sh-feature' and `imenu-generic-expression'." + :type '(alist :key-type (symbol :tag "Shell") + :value-type (alist :key-type (choice :tag "Title" + string + (const :tag "None" nil)) + :value-type + (repeat :tag "Regexp, index..." sexp))) :group 'sh-script :version "20.4")