]> git.eshelyaron.com Git - emacs.git/commitdiff
(lisp-imenu-generic-expression): Accept `*', `|',
authorKarl Heuer <kwzh@gnu.org>
Tue, 11 Mar 1997 22:32:22 +0000 (22:32 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 11 Mar 1997 22:32:22 +0000 (22:32 +0000)
and `:' in symbol names.

lisp/emacs-lisp/lisp-mode.el

index 89bac6d80f932d1b7622102ef3cfef28d6e91fc2..a48a7efe42159c101e4e0db612f31acdc2ff66c4 100644 (file)
 (defvar lisp-imenu-generic-expression
       '(
        (nil 
-        "^\\s-*(def\\(un\\|subst\\|macro\\|advice\\)\\s-+\\([-A-Za-z0-9+]+\\)" 2)
+        "^\\s-*(def\\(un\\|subst\\|macro\\|advice\\)\\s-+\\([-A-Za-z0-9+*|:]+\\)" 2)
        ("Variables" 
-        "^\\s-*(def\\(var\\|const\\)\\s-+\\([-A-Za-z0-9+]+\\)" 2)
+        "^\\s-*(def\\(var\\|const\\)\\s-+\\([-A-Za-z0-9+*|:]+\\)" 2)
        ("Types" 
-        "^\\s-*(def\\(type\\|struct\\|class\\|ine-condition\\)\\s-+\\([-A-Za-z0-9+]+\\)" 
+        "^\\s-*(def\\(type\\|struct\\|class\\|ine-condition\\)\\s-+\\([-A-Za-z0-9+*|:]+\\)" 
         2))
 
   "Imenu generic expression for Lisp mode.  See `imenu-generic-expression'.")