changeset 14633:7e5e4b8c8d10

(perl-imenu-generic-expression): Recognize packages.
author Karl Heuer <kwzh@gnu.org>
date Wed, 21 Feb 1996 21:29:14 +0000
parents f50f87fae914
children c7dfe102acc3
files lisp/progmodes/perl-mode.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/perl-mode.el	Wed Feb 21 21:28:57 1996 +0000
+++ b/lisp/progmodes/perl-mode.el	Wed Feb 21 21:29:14 1996 +0000
@@ -154,6 +154,7 @@
     (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'.")