From: Karl Heuer Date: Wed, 21 Feb 1996 21:29:14 +0000 (+0000) Subject: (perl-imenu-generic-expression): Recognize packages. X-Git-Tag: emacs-19.34~1227 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4d23eb4bd34e5cb7a9ed3f91464d9fe2ea58a724;p=emacs.git (perl-imenu-generic-expression): Recognize packages. --- diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index 21fce869f6d..42353d559ab 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el @@ -154,6 +154,7 @@ The expansion is entirely correct because it uses the C preprocessor." (nil "^sub\\s-+\\([-A-Za-z0-9+_:]+\\)\\(\\s-\\|\n\\)*{" 1 ) ;;Variables ("Variables" "^\\([$@%][-A-Za-z0-9+_:]+\\)\\s-*=" 1 ) + ("Packages" "^package\\s-+\\([-A-Za-z0-9+_:]+\\);" 1 ) ) "Imenu generic expression for Perl mode. See `imenu-generic-expression'.")