all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problems with desktop.el after reecent local-mior-modes changes
@ 2021-03-11 20:59 Andy Moreton
  2021-03-11 21:07 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 9+ messages in thread
From: Andy Moreton @ 2021-03-11 20:59 UTC (permalink / raw)
  To: emacs-devel

Hi,

Has anyone else observed recent problems with desktop.el ?

After updating master today (to commit 1d4195856b), I find that emacs
built from the emacs-27 branch fails to restore a desktop save file, and
complains that `local-minor-modes' is not defined as a variable.

Desktop save files used to work interchangeably between branches up
unito a few days ago, so there is a regression somewhere.

Adding this to init.el suppresses the problem in emacs-27:
    (when (version< emacs-version "28")
      (defvar-local local-minor-modes nil))

...however I'm not sure what saved state has not been restored.

Is there some rework needed for desktop-minor-mode-handlers etc ?

    AndyM





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-03-12 20:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-11 20:59 Problems with desktop.el after reecent local-mior-modes changes Andy Moreton
2021-03-11 21:07 ` Lars Ingebrigtsen
2021-03-11 21:10   ` Lars Ingebrigtsen
2021-03-11 22:35     ` Andy Moreton
2021-03-11 22:42       ` Stefan Monnier
2021-03-11 23:03         ` Andy Moreton
2021-03-11 23:23           ` Lars Ingebrigtsen
2021-03-12 19:10             ` Andy Moreton
2021-03-12 20:39               ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.