adambard / adambard/learnxinyminutes-docs

[elisp] not clear why <let> uses 2 pairs of "( )"

未关闭
#4,511 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Markdown
星标
12.3k
派生
3.7k
平均合并
13 小时 10 分钟
30 天内合并 PR
6

描述

When command "let" is introduced it is not really explained why it evals through double parenthesis:

> ;; You can bind a value to a local variable with `let':
> (let ((local-name "you"))
> (switch-to-buffer-other-window "*test*")
> (erase-buffer)
> (hello local-name)
> (other-window 1))

贡献指南

打开贡献指南

调研方向

Search the repository for the quoted `let` example and read the surrounding Emacs Lisp documentation. Add a concise explanation of why the example uses two pairs of parentheses, and consider the issue complete when a reader can understand that syntax from the introduction alone.

由索引模型根据 Issue 内容生成。

评估

技术栈
emacs-lisp
领域
documentation
Issue 类型
文档
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。