[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with desktop.el after reecent local-mior-modes changes
From: |
Lars Ingebrigtsen |
Subject: |
Re: Problems with desktop.el after reecent local-mior-modes changes |
Date: |
Fri, 12 Mar 2021 00:23:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Andy Moreton <andrewjmoreton@gmail.com> writes:
>> Presumably the `override-global-mode` was compiled with Emacs-28, so
>> when you use it with Emacs-27 you get into trouble.
>
> Thanks Stefan, that is indeed the problem: the reference was in
> bind-key.elc. I must have updated the package recently while running
> emacs built from master.
>
> Is there a general way to avoid this kind of problem ?
> Perhaps I need to use separate elpa dirs for each emacs version.
I think `define-minor-mode' could be more helpful here -- that is, it
could check run-time whether the variables in question are bound. This
should fix this problem when moving between Emacs versions.
I think I'll make that change to Emacs 28 now.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Problems with desktop.el after reecent local-mior-modes changes, Andy Moreton, 2021/03/11
- Re: Problems with desktop.el after reecent local-mior-modes changes, Lars Ingebrigtsen, 2021/03/11
- Re: Problems with desktop.el after reecent local-mior-modes changes, Lars Ingebrigtsen, 2021/03/11
- Re: Problems with desktop.el after reecent local-mior-modes changes, Andy Moreton, 2021/03/11
- Re: Problems with desktop.el after reecent local-mior-modes changes, Stefan Monnier, 2021/03/11
- Re: Problems with desktop.el after reecent local-mior-modes changes, Andy Moreton, 2021/03/11
- Re: Problems with desktop.el after reecent local-mior-modes changes,
Lars Ingebrigtsen <=
- Re: Problems with desktop.el after reecent local-mior-modes changes, Andy Moreton, 2021/03/12
- Re: Problems with desktop.el after reecent local-mior-modes changes, Lars Ingebrigtsen, 2021/03/12