1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00

(perl-imenu-generic-expression): Recognize packages.

This commit is contained in:
Karl Heuer 1996-02-21 21:29:14 +00:00
parent 9d69069393
commit 4d23eb4bd3

View File

@ -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'.")