lisp/emacs-lisp/lisp-mode.el: Support cl-def* expressions in imenu.
This commit is contained in:
parent
f078d5700b
commit
185e3b5a2f
2 changed files with 8 additions and 2 deletions
|
@ -110,7 +110,9 @@ It has `lisp-mode-abbrev-table' as its parent."
|
|||
"define-compiler-macro" "define-modify-macro"
|
||||
"defsetf" "define-setf-expander"
|
||||
"define-method-combination"
|
||||
"defgeneric" "defmethod") t))
|
||||
"defgeneric" "defmethod"
|
||||
"cl-defun" "cl-defsubst" "cl-defmacro"
|
||||
"cl-define-compiler-macro") t))
|
||||
"\\s-+\\(\\(\\sw\\|\\s_\\)+\\)"))
|
||||
2)
|
||||
(list (purecopy "Variables")
|
||||
|
@ -132,7 +134,8 @@ It has `lisp-mode-abbrev-table' as its parent."
|
|||
(regexp-opt
|
||||
'("defgroup" "deftheme" "deftype" "defstruct"
|
||||
"defclass" "define-condition" "define-widget"
|
||||
"defface" "defpackage") t))
|
||||
"defface" "defpackage" "cl-deftype"
|
||||
"cl-defstruct") t))
|
||||
"\\s-+'?\\(\\(\\sw\\|\\s_\\)+\\)"))
|
||||
2))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue