当我们评估变量 fill-column
以获取其值时,我们没有在单词周围加括号。这是因为我们没有打算将其用作函数名称。
如果 fill-column
是列表的第一个或唯一元素,Lisp 解释器将尝试找到与之关联的函数定义。但是 fill-column
没有函数定义。尝试评估以下内容:
(fill-column)
将会创建一个 *Backtrace* 缓冲区,其中显示:
---------- 缓冲区:*Backtrace* ---------- Debugger entered--Lisp error: (void-function fill-column) (fill-column) eval((fill-column) nil) elisp--eval-last-sexp(nil) eval-last-sexp(nil) funcall-interactively(eval-last-sexp nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) ---------- 缓冲区:*Backtrace* ----------
(记住,要退出调试器并关闭调试器窗口,请在 *Backtrace* 缓冲区中键入 q。)