1.3.4 打印表示法

本手册中的许多示例在求值时会打印文本。如果你在 Lisp 交互缓冲区(如 *scratch* 缓冲区)中运行示例代码,只需在示例的右括号后按下 C-j,打印出的文本就会插入到缓冲区中。如果你通过其他方式(如使用 eval-region 函数求值)运行示例,打印的文本会显示在回显区。

本手册的示例中,无论文本输出到何处,打印内容均使用符号 ‘’ 标注。形式求值后返回的值则在单独一行用 ‘’ 标注。

(progn (prin1 'foo) (princ "\n") (prin1 'bar))
     ⊣ foo
     ⊣ bar
     ⇒ bar
emacs

Emacs

org-mode

Orgmode

Donations

打赏

Copyright

© 2025 Jasper Hsu

Creative Commons

Creative Commons

Attribute

Attribute

Noncommercial

Noncommercial

Share Alike

Share Alike