Re: undo-tree problem after updates

Stéphane Marks <[email protected]> Sat, 25 Jul 2026 12:59:59 +0200
Newsgroups gmane.emacs.devel
Message-ID <CAN+1Hbr9z2pAvyGuTkQfLFwTzoq1gmxBLBdU+XHe+=L8atWLrg@mail.gmail.com>
On Sat, Jul 25, 2026 at 6:55 AM Thomas Klausner <[email protected]> wrote:

> On Sat, Jul 25, 2026 at 12:47:46PM +0100, Stéphane Marks wrote:
> > I sense you share your .elc files across versions without recompiling
> them,
> > be they in your personal library or via a package manager so in your elpa
> > directory.  The definition of the macro define-globalized-minor-mode
> > changed and if you recompile your .el files, it should disappear.  Note,
> > that if you go back to an older Emacs version you may have to repeat the
> > exercise.
> >
> > If using the built-in package manager, run the
> > command package-recompile-all.  For your personal library in, say,
> > ~/.emacs.d/lisp or similar, run the command byte-recompile-directory.
>
> Yes, there are .elc files in .config/emacs/elpa/*/*.elc. I don't
> delete them when updating emacs. Do I understand you correctly that I
> should?
>
> When I've started an interactive emacs after an update, it's already
> too late - I can't run any ESC-x commands because after typing ESC-x,
> I get the error.
>

Yes, I should have said to first carefully delete just the .elc files which
contain older expanded macros.