Subject: 27; Recreated *scratch* buffer has lexical-binding = nil
From: Mattias Engdegård <[email-masked]>
To: [email-masked]
Date: Tue, 31 Dec 2019 16:52:18 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

The standard *scratch* buffer is blessed with lexical-binding = t, but if killed and recreated via C-x b *scratch* RET, the new buffer isn't.

Not sure where this logic belongs; the *scratch* handling seems a bit spread out. In Fset_buffer_major_mode?