help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Invalid function error in cl.el


From: Stefan Monnier
Subject: Re: Invalid function error in cl.el
Date: Thu, 23 Feb 2006 10:57:44 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> This clip is in buffer-stack.el

>  (incf buffer-stack-index)

> I replaced it with 

>   (setq buffer-stack-index (1+ buffer-stack-index))

You don't need to replace it, it was perfectly valid.  But maybe the file is
missing an (eval-when-compile (require 'cl)) at its top.

> Everything works as expected now, which is good, but this literally
> worked for 3 years.  I have no idea why it would break now.  Eh,
> anyway, thanks for the prod in the right direction.  

You probably recompiled buffer-stack.el and this recompilation was done when
CL was not loaded, which resulted in a broken buffer-stack.elc.


        Stefan


reply via email to

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