Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 14825
2 votes
Accepted

why lexical environment alist ends with a `t'?

Try with a function that takes an argument and has a body: (let ((foo 233)) (lambda (x) (* x foo))) ;; ==> (closure ((foo . 233)) (x) (* x foo)) The Closures section of the Elisp Reference manual say …
NickD's user avatar
  • 33.6k
1 vote
Accepted

lexical binding in a tangled init.el file

:lexical t works for evaluating elisp code blocks in an Org file. Your question is different: you want the produced init.el to use lexical binding when it is loaded and that buffer is evaluated. In or …
NickD's user avatar
  • 33.6k
1 vote

Any way to access a lexical let variable outside of the let?

You can't do that and you shouldn't even try: let blocks are meant to define variables that are local in scope and limited in lifetime - they spring into existence when the block is entered and they g …
NickD's user avatar
  • 33.6k