From 9b31e6bbf50b1fd770be30041a584fb5d365c017 Mon Sep 17 00:00:00 2001 From: Xingyu Wang Date: Sat, 25 Apr 2020 19:11:14 +0800 Subject: [PATCH] PRF --- .../20200311 What you need to know about variables in Emacs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/published/20200311 What you need to know about variables in Emacs.md b/published/20200311 What you need to know about variables in Emacs.md index 6a2a0aaa63..a53c1200ed 100644 --- a/published/20200311 What you need to know about variables in Emacs.md +++ b/published/20200311 What you need to know about variables in Emacs.md @@ -31,7 +31,7 @@ GNU Emacs 是由 C 和 Emacs Lisp(Elisp,Lisp 编程语言的一种方言) 对如下表达式求值不会将变量覆盖为 `t`: ``` -`(defvar my-var t)` +(defvar my-var t) ``` 注意此处有*一个例外*:如果你用 `C-M-x` 快捷键对上述声明求值,它将调用 `eval-defun` 函数,并将变量覆盖为 `t`。通过此方式,你可以按需将变量强制覆盖。这种行为是刻意而为之的:你可能知道,Emacs 中的许多特性是按需加载的,也可以称为自动加载。如果那些文件中的声明将变量覆盖为它们的默认值,那它也就覆盖了你初始化文件中的设置。