diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2013-08-02 18:29:16 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2013-08-02 18:29:16 +0200 |
commit | 185e3b5a2f3dc2b5163eb1fe97499c6af1edaa9c (patch) | |
tree | ee5c64d81a3b09d611c4b3d1ff5ad6d023019795 /lisp/emacs-lisp/lisp-mode.el | |
parent | f078d5700b89af7e729d065b2c0098a360c0b56e (diff) | |
download | emacs-185e3b5a2f3dc2b5163eb1fe97499c6af1edaa9c.tar.gz |
lisp/emacs-lisp/lisp-mode.el: Support cl-def* expressions in imenu.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
-rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index af30deca4cc..3cbd6d4a585 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -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)) |