|
From: | No Wayman |
Subject: | bug#54031: 29.0.50; *scratch* buffer defaults to dynamic scoping when initial-major-mode 'emacs-lisp-mode |
Date: | Wed, 16 Feb 2022 17:48:20 -0500 |
User-agent: | mu4e 1.7.7; emacs 29.0.50 |
Lars Ingebrigtsen <larsi@gnus.org> writes:
No Wayman <iarchivedmywholelife@gmail.com> writes:With the following minimal init.el the initial *scratch* buffer doesnot have lexical binding enabled: (setq initial-buffer tThis variable doesn't seem to exist (in Emacs 29).
Apologies, a typo of initial-buffer-choice on my end.
initial-major-mode 'emacs-lisp-mode) Bug, or my misunderstanding?emacs-lisp-mode defaults to dynamic binding, so this sounds like it'sworking as designed.
I see now after a closer reading of the NEWS.27 entry:
** Lexical binding is now used by default when evaluating interactive Elisp.[...] as well as in'lisp-interaction-mode' and 'ielm-mode', used in the "*scratch*" and"*ielm*" buffers.
Agreed that it sounds like it's working as designed. Sorry for the noise and thanks for your help.
[Prev in Thread] | Current Thread | [Next in Thread] |