Subject: Re: bug#60880: 30.0.50; tree-sitter `treesit-explore-mode' is buggy and does not behave properly

From: Juri Linkov <[email-masked]>
Date: Fri, 20 Jan 2023 09:59:09 +0200

> I don't think the desktop-save part is correct: the test should be at
> desktop-read time, not at desktop-save time.  Because the fact we had
> the language available when we saved the desktop doesn't guarantee we
> will have it available when restoring that desktop: it could be in a
> different build of Emacs or even on a different machine.

When the buffer is not saved, then it will cause no problems when restoring.