]> git.eshelyaron.com Git - emacs.git/commit
Introduce 'let' using lexical binding in the Lisp Introduction
authorJim Porter <jporterbugs@gmail.com>
Thu, 26 Oct 2023 03:43:57 +0000 (20:43 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sat, 13 Jan 2024 18:21:52 +0000 (19:21 +0100)
commitf4eef7d308c0c6bec7a3666e63d5676126b60cfd
treeebda8ef1f0050ff1d7c32852e247075b655de345
parentb085585637adfceb93007667bb096727ddb24f3c
Introduce 'let' using lexical binding in the Lisp Introduction

* doc/lispintro/emacs-lisp-intro.texi (Prevent confusion): Rework the
explanation to discuss how things work under lexical binding.
(How let Binds Variables): Describe the differences between lexical
and dynamic binding (including how to configure it).
(defvar): Mention that 'defvar' declares variables as always
dynamically-bound (bug#66756).

(cherry picked from commit d58d0fa52ff22e147b8328759d5f0f762e15bbb5)
doc/lispintro/emacs-lisp-intro.texi