comparison lisp/emacs-lisp/lisp-mode.el @ 20013:cc417f06a333

(lisp-imenu-generic-expression): Allow `/' in names.
author Richard M. Stallman <rms@gnu.org>
date Wed, 01 Oct 1997 17:28:02 +0000
parents 092b99255bcd
children 3627bd4b83d9
comparison
equal deleted inserted replaced
20012:0c55c5d71551 20013:cc417f06a333
81 (define-abbrev-table 'lisp-mode-abbrev-table ()) 81 (define-abbrev-table 'lisp-mode-abbrev-table ())
82 82
83 (defvar lisp-imenu-generic-expression 83 (defvar lisp-imenu-generic-expression
84 '( 84 '(
85 (nil 85 (nil
86 "^\\s-*(def\\(un\\|subst\\|macro\\|advice\\)\\s-+\\([-A-Za-z0-9+*|:]+\\)" 2) 86 "^\\s-*(def\\(un\\|subst\\|macro\\|advice\\)\\s-+\\([-A-Za-z0-9+*|:/]+\\)" 2)
87 ("Variables" 87 ("Variables"
88 "^\\s-*(def\\(var\\|const\\|custom\\)\\s-+\\([-A-Za-z0-9+*|:]+\\)" 2) 88 "^\\s-*(def\\(var\\|const\\|custom\\)\\s-+\\([-A-Za-z0-9+*|:/]+\\)" 2)
89 ("Types" 89 ("Types"
90 "^\\s-*(def\\(group\\|type\\|struct\\|class\\|ine-condition\\)\\s-+\\([-A-Za-z0-9+*|:]+\\)" 90 "^\\s-*(def\\(group\\|type\\|struct\\|class\\|ine-condition\\)\\s-+\\([-A-Za-z0-9+*|:/]+\\)"
91 2)) 91 2))
92 92
93 "Imenu generic expression for Lisp mode. See `imenu-generic-expression'.") 93 "Imenu generic expression for Lisp mode. See `imenu-generic-expression'.")
94 94
95 (defun lisp-mode-variables (lisp-syntax) 95 (defun lisp-mode-variables (lisp-syntax)