[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: invalid-function kbd on Emacs 24.2

From: Drew Adams
Subject: RE: invalid-function kbd on Emacs 24.2
Date: Sat, 9 Feb 2013 14:02:57 -0800

> > > I just compiled emacs-24.2 and then went on to install 
> > > haskell-mode using the package manager. When I trigger
> > > M-x haskell-mode I'm presented with the following error:
> > > Debugger entered--Lisp error: (invalid-function kbd)
> > >   kbd("C-c C-t")
> >
> > This doesn't happen to me, at least not with the latest haskell-mode
> > from Github.  Here's what I did:
> >
> >   emacs -Q
> >   M-x load-file RET haskell-mode.el RET
> >   M-x haskell-mode RET
> >
> > No error after that.
> I too can't reproduce this.
> But, FWIW, I saw this kind of error several times in the past, with
> different functions.  Although functions were defined, I got an
> `invalid function' error.  Every time, only running compiled code was
> affected.  I have no short recipe, however.

Recall that `kbd' changed recently from a macro to a function.  My guess is that
that might have something to do with this.  Just a hunch.  Maybe an old
byte-compiled file is involved somehow.  

reply via email to

[Prev in Thread] Current Thread [Next in Thread]