[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: thunk.el: Document that thunk-force == funcall?
From: |
Tomas Hlavaty |
Subject: |
Re: thunk.el: Document that thunk-force == funcall? |
Date: |
Wed, 18 Nov 2020 09:01:19 +0100 |
On Tue 17 Nov 2020 at 18:52, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> (setq lexical-binding t)
>
> Side node: this usually doesn't do what the author thinks it does.
what does it do?
how to turn the *scratch* buffer to lexical binding?
for the quick experiment, i evaluated this
(setq lexical-binding t)
in the *scratch* buffer and it did what i wanted, namely allowed me to
use lexical binding by default for the purpose of the quick experiment.
i do not know how to switch the *scratch* buffer to lexical binding
otherwise. without that, closures did not work as i needed.
normally, i write
;;; -*- lexical-binding: t -*-
at the beginning of a buffer.
does this do what i think it does, i.e. switch to lexical binding for
the entire buffer?
- thunk.el: Document that thunk-force == funcall?, Michael Heerdegen, 2020/11/17
- Re: thunk.el: Document that thunk-force == funcall?, Tomas Hlavaty, 2020/11/17
- Re: thunk.el: Document that thunk-force == funcall?, Michael Heerdegen, 2020/11/17
- Re: thunk.el: Document that thunk-force == funcall?, Tomas Hlavaty, 2020/11/17
- Re: thunk.el: Document that thunk-force == funcall?, Michael Heerdegen, 2020/11/17
- Re: thunk.el: Document that thunk-force == funcall?, Tomas Hlavaty, 2020/11/17
- Re: thunk.el: Document that thunk-force == funcall?, Stefan Monnier, 2020/11/17
- Re: thunk.el: Document that thunk-force == funcall?,
Tomas Hlavaty <=
- Re: thunk.el: Document that thunk-force == funcall?, Stefan Monnier, 2020/11/18
- Re: thunk.el: Document that thunk-force == funcall?, Tomas Hlavaty, 2020/11/18
- Re: thunk.el: Document that thunk-force == funcall?, Stefan Monnier, 2020/11/18
- Re: thunk.el: Document that thunk-force == funcall?, Tomas Hlavaty, 2020/11/18
- Re: thunk.el: Document that thunk-force == funcall?, Stephen Leake, 2020/11/18
Re: thunk.el: Document that thunk-force == funcall?, Alfred M. Szmidt, 2020/11/18
RE: thunk.el: Document that thunk-force == funcall?, Drew Adams, 2020/11/17