我正在使用带有粘液的 SBCL,并具有以下代码:
(swank::eval-in-emacs
'(with-current-buffer (slime-repl-buffer)
(insert (propertize "foo" 'font-lock-face '(:foreground "red")))))
(print "here is some text")
一般来说,如果我尝试执行任何带有swank::
前缀的东西,emacs 会给出一个安全错误,这个特定的错误告诉我我需要设置slime-enable-evaluate-in-emacs
为 true。这个值在哪里?我一直没能找到一个粘液或 swank 配置。& 设置文件。非常感谢。