Subject: bug#23781: 25.0.95; read-string with HIST lexically bound

From: Michael Heerdegen <[email-masked]>
Date: Sun, 26 Jun 2016 01:42:28 +0200

Stephen Berman <[email-masked]> 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

The term "surrounding" can describe different things here (mostly,
"lexically" vs. "dynamically" surrounding).

Michael.