[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (2nd try) imenu function doesn't work when byte-compiled
From: |
Peter S Galbraith |
Subject: |
Re: (2nd try) imenu function doesn't work when byte-compiled |
Date: |
Thu, 03 May 2001 13:08:48 -0400 |
I wrote:
> I wrote:
>
> > I'm defining an imenu index creation function similar to
> > imenu-example--create-lisp-index...
> >
> > The function works fine if eval'ed, but fails with the following
> > backtrace if I byte-compile the file:
>
> I forgot to say that I do have "(require 'imenu)" in the code
> such that the macro should be defined during byte-compilation.
Arg! Actually, there was a condition on the "(require 'imenu)"
based on a defcustom'ed variable defined in the same file. Once
that is changed the problem goes away.
Sorry.
Peter