[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23781: 25.0.95; read-string with HIST lexically bound
From: |
Noam Postavsky |
Subject: |
bug#23781: 25.0.95; read-string with HIST lexically bound |
Date: |
Sat, 25 Jun 2016 23:34:43 -0400 |
On Sat, Jun 25, 2016 at 7:42 PM, Michael Heerdegen
<michael_heerdegen@web.de> wrote:
> Stephen Berman <stephen.berman@gmx.net> writes:
>
>> > Also, the code in the body of a ‘defun’ or
>> > ‘defmacro’ cannot refer to surrounding lexical variables.
>
>
> This seems a bit unclear to me. It sounds like something like this
> would not work:
>
> ;; -*- lexical-binding: t -*-
> (let ((x 1))
> (defun f () x))
>
> (f) ==> 1
That's indeed what it meant, but this restriction was lifted sometime
after 24.1, see
http://help-gnu-emacs.gnu.narkive.com/uspqRdsq/surrounding-lexical-variable-reference-in-the-body-of-defun
and
http://stackoverflow.com/questions/12026137/emacs-the-code-in-the-body-of-a-defun-or-defmacro-cannot-refer-to-surrounding-l.
Updated patch to remove that sentence.
v2-0001-Add-to-elisp-completion-at-point-s-docstring.patch
Description: Text Data
- bug#23781: 25.0.95; read-string with HIST lexically bound, (continued)
- bug#23781: 25.0.95; read-string with HIST lexically bound, Michael Heerdegen, 2016/06/17
- bug#23781: 25.0.95; read-string with HIST lexically bound, Noam Postavsky, 2016/06/23
- bug#23781: 25.0.95; read-string with HIST lexically bound, Drew Adams, 2016/06/23
- bug#23781: 25.0.95; read-string with HIST lexically bound, Noam Postavsky, 2016/06/24
- bug#23781: 25.0.95; read-string with HIST lexically bound, Stephen Berman, 2016/06/25
- bug#23781: 25.0.95; read-string with HIST lexically bound, Noam Postavsky, 2016/06/25
- bug#23781: 25.0.95; read-string with HIST lexically bound, Stephen Berman, 2016/06/25
- bug#23781: 25.0.95; read-string with HIST lexically bound, Noam Postavsky, 2016/06/25
- bug#23781: 25.0.95; read-string with HIST lexically bound, Stephen Berman, 2016/06/25
- bug#23781: 25.0.95; read-string with HIST lexically bound, Michael Heerdegen, 2016/06/25
- bug#23781: 25.0.95; read-string with HIST lexically bound,
Noam Postavsky <=
- bug#23781: 25.0.95; read-string with HIST lexically bound, Noam Postavsky, 2016/06/26
- bug#23781: 25.0.95; read-string with HIST lexically bound, Drew Adams, 2016/06/25
- bug#23781: 25.0.95; read-string with HIST lexically bound, Drew Adams, 2016/06/25
- bug#23781: 25.0.95; read-string with HIST lexically bound, Drew Adams, 2016/06/25
- bug#23781: 25.0.95; read-string with HIST lexically bound, Tino Calancha, 2016/06/23