diff options
| author | Dave Love | 2001-01-09 15:19:47 +0000 |
|---|---|---|
| committer | Dave Love | 2001-01-09 15:19:47 +0000 |
| commit | 83c5d68f535527df65ca5e38beb3c74107d7cdec (patch) | |
| tree | 65fcaae8a2222acd04b8d98923dc69500e496f28 | |
| parent | 8b7c899181413b8f0f769c5f85f8bd7b11111582 (diff) | |
| download | emacs-83c5d68f535527df65ca5e38beb3c74107d7cdec.tar.gz emacs-83c5d68f535527df65ca5e38beb3c74107d7cdec.zip | |
(sh-imenu-generic-expression): Fix doc,
:type.
| -rw-r--r-- | lisp/progmodes/sh-script.el | 12 |
1 files changed, 8 insertions, 4 deletions
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." | |||
| 321 | (defcustom sh-imenu-generic-expression | 321 | (defcustom sh-imenu-generic-expression |
| 322 | `((sh | 322 | `((sh |
| 323 | . ((nil "^\\s-*\\(function\\s-+\\)?\\([A-Za-z_][A-Za-z_0-9]+\\)\\s-*()" 2)))) | 323 | . ((nil "^\\s-*\\(function\\s-+\\)?\\([A-Za-z_][A-Za-z_0-9]+\\)\\s-*()" 2)))) |
| 324 | "*Regular expression for recognizing shell function definitions. | 324 | "*Alist of regular expressions for recognizing shell function definitions. |
| 325 | See `sh-feature'." | 325 | See `sh-feature' and `imenu-generic-expression'." |
| 326 | :type '(repeat (cons (symbol :tag "Shell") | 326 | :type '(alist :key-type (symbol :tag "Shell") |
| 327 | regexp)) | 327 | :value-type (alist :key-type (choice :tag "Title" |
| 328 | string | ||
| 329 | (const :tag "None" nil)) | ||
| 330 | :value-type | ||
| 331 | (repeat :tag "Regexp, index..." sexp))) | ||
| 328 | :group 'sh-script | 332 | :group 'sh-script |
| 329 | :version "20.4") | 333 | :version "20.4") |
| 330 | 334 | ||