In Imenu, don't show defvars with no second argument.
commitb7ccbdc2e39ff834a03a7f30516b71cd98e84a44
authorChong Yidong <cyd@gnu.org>
Sun, 5 Aug 2012 14:14:54 +0000 (5 22:14 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 5 Aug 2012 14:14:54 +0000 (5 22:14 +0800)
tree709716de67fb79a23bf4e78346dabf808b3310fb
parentd32e47aff6cc01e3ccdfdf5e8f163f8a52285a75
In Imenu, don't show defvars with no second argument.

* lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
show defvars which have no second argument.

* lisp/imenu.el (imenu-generic-expression): Move documentation here
from imenu--generic-function.
(imenu--generic-function): Refer to imenu-generic-expression.

Fixes: debbugs:8638
lisp/ChangeLog
lisp/emacs-lisp/lisp-mode.el
lisp/imenu.el