From: Richard M. Stallman Date: Tue, 9 Sep 1997 19:54:18 +0000 (+0000) Subject: (lisp-imenu-generic-expression): Recognize`defcustom' and `defgroup". X-Git-Tag: emacs-20.1~97 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4b15e3acac43a90e4d76a406daa9fa0c913a0a65;p=emacs.git (lisp-imenu-generic-expression): Recognize`defcustom' and `defgroup". --- diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index a4a1c050e80..ad4a1f5dc65 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -85,9 +85,9 @@ (nil "^\\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\\|custom\\)\\s-+\\([-A-Za-z0-9+*|:]+\\)" 2) ("Types" - "^\\s-*(def\\(type\\|struct\\|class\\|ine-condition\\)\\s-+\\([-A-Za-z0-9+*|:]+\\)" + "^\\s-*(def\\(group\\|type\\|struct\\|class\\|ine-condition\\)\\s-+\\([-A-Za-z0-9+*|:]+\\)" 2)) "Imenu generic expression for Lisp mode. See `imenu-generic-expression'.")