bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38835: 27; Recreated *scratch* buffer has lexical-binding = nil


From: Eli Zaretskii
Subject: bug#38835: 27; Recreated *scratch* buffer has lexical-binding = nil
Date: Wed, 01 Jan 2020 18:14:38 +0200

> From: Mattias Engdegård <address@hidden>
> Date: Tue, 31 Dec 2019 16:52:18 +0100
> 
> 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?

Maybe we should have a command to recreate *scratch*, and call it from
startup.el?  Then that command could do this.

Or maybe we should decide that lisp-interaction-mode should do this
for any buffer?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]