Subject: bug#18251: closed (Bug #18251: 24.4.50; defvar-local not in imenu index in Emacs Lisp Mode)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 26 Jun 2016 14:02:02 +0000

Your bug report

#18251: 24.4.50; defvar-local not in imenu index in Emacs Lisp Mode

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
18251: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18251
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Bug #18251: 24.4.50; defvar-local not in imenu index in Emacs Lisp Mode
From: Noam Postavsky <[email-masked]>
To: [email-masked]
Date: Sun, 26 Jun 2016 10:00:55 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 25.0.95

In Emacs 25 pretest the imenu index does include defvar-local

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.