Subject: 24.4.50; defvar-local not in imenu index in Emacs Lisp Mode
From: Sebastian Wiesner <[email-masked]>
To: [email-masked]
Date: Tue, 12 Aug 2014 15:30:39 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Variables defined with `defvar-local', as in

(defvar-local foo nil "A local foo")

do not currently appear in the imenu index of Emacs Lisp Mode.

Since defvar-local is just a shortcut for `defvar` and
`make-variable-buffer-local`, I think that they should appear in the
imenu index just like other variables.