Make imenu find defalias entries
* lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Also find defalias (bug#7855).
This commit is contained in:
parent
20b27d475f
commit
4c4eda4c31
1 changed files with 9 additions and 0 deletions
|
@ -119,6 +119,15 @@
|
|||
t))
|
||||
"\\s-+\\(" lisp-mode-symbol-regexp "\\)"))
|
||||
2)
|
||||
;; Like the previous, but uses a quoted symbol as the name.
|
||||
(list nil
|
||||
(purecopy (concat "^\\s-*("
|
||||
(eval-when-compile
|
||||
(regexp-opt
|
||||
'("defalias" "define-obsolete-function-alias")
|
||||
t))
|
||||
"\\s-+'\\(" lisp-mode-symbol-regexp "\\)"))
|
||||
2)
|
||||
(list (purecopy "Variables")
|
||||
(purecopy (concat "^\\s-*("
|
||||
(eval-when-compile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue