Subject: Re: bug#12676: 24.2.50; New annoying warning for `imenu--make-index-alist'

From: Glenn Morris <[email-masked]>
Date: Thu, 18 Oct 2012 14:29:10 -0400

Thierry Volpiatto wrote:

> In end of data:
> helm-imenu.el:116:1:Warning: the function `imenu--make-index-alist' might not
>     be defined at runtime.
> --8<---------------cut here---------------end--------------->8---
>
> Why this?
> imenu is required.

Please give a minimal complete example (why do I even have to say this?).

There is no such warning when compiling the following:

(require 'imenu)
(defun foo ()
  (imenu--make-index-alist))