LINUX.ORG.RU

История изменений

Исправление BOSS-NIGGER, (текущая версия) :

Нашел, это касается только M-: и eval, конец света отменяется. Но за лаконичное

Lexical-binding is used by default

того кто это написал надо казнить в жопу ящитаю.

https://github.com/emacs-mirror/emacs/blob/master/etc/NEWS.27

** Lexical binding is now used by default when evaluating interactive Elisp.
More specifically, 'lexical-binding' is now used by default for 'M-:'
and '--eval' (including in evaluations invoked from 'emacsclient' via
its '--eval' command-line option), as well as in
'lisp-interaction-mode' and 'ielm-mode', used in the "*scratch*" and
"*ielm*" buffers.

We envision that most Lisp code is already either written with
lexical-binding in mind, or will work unchanged under
lexical-binding.  If, for some reason, your code used in 'M-:' or
'--eval' doesn't work as result of this change, either modify the code
to work with lexical binding, or wrap it in an extra level of 'eval'.
For example, --eval "FORM" becomes --eval "(eval 'FORM)" (note the extra
quote in 'FORM).

Исходная версия BOSS-NIGGER, :

Нашел, это касается только M-: и eval, конец света отменяется. Но за лаконичное

Lexical-binding is used by default

надо казнить в жопу ящитаю.

https://github.com/emacs-mirror/emacs/blob/master/etc/NEWS.27

** Lexical binding is now used by default when evaluating interactive Elisp.
More specifically, 'lexical-binding' is now used by default for 'M-:'
and '--eval' (including in evaluations invoked from 'emacsclient' via
its '--eval' command-line option), as well as in
'lisp-interaction-mode' and 'ielm-mode', used in the "*scratch*" and
"*ielm*" buffers.

We envision that most Lisp code is already either written with
lexical-binding in mind, or will work unchanged under
lexical-binding.  If, for some reason, your code used in 'M-:' or
'--eval' doesn't work as result of this change, either modify the code
to work with lexical binding, or wrap it in an extra level of 'eval'.
For example, --eval "FORM" becomes --eval "(eval 'FORM)" (note the extra
quote in 'FORM).