From 4d23eb4bd34e5cb7a9ed3f91464d9fe2ea58a724 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Wed, 21 Feb 1996 21:29:14 +0000 Subject: [PATCH] (perl-imenu-generic-expression): Recognize packages. --- lisp/progmodes/perl-mode.el | 1 + 1 file changed, 1 insertion(+) 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'.") -- 2.39.2