向 Lispbox 添加颜色主题
我是 Common Lisp 的新手,目前正在使用 Lispbox。 我想向在 OSX 上运行的 Lispbox 添加一个颜色主题包来更改颜色主题。 我目前正在尝试使用该命令:
(add-to-list 'load-path "~/desktop/colortheme/")
但是我不断收到相同的错误:
Undefined function ADD-TO-LIST called with arguments (LOAD-PATH "/desktop/colortheme/").
有人可以帮助我从这里做什么吗?
预先感谢,
卡梅伦
I'm new to using Common Lisp and currently using Lispbox.
I would like to add a color-theme package to Lispbox running on OSX to change the color theme.
I'm currently trying to use the command:
(add-to-list 'load-path "~/desktop/colortheme/")
However I keep getting the same error:
Undefined function ADD-TO-LIST called with arguments (LOAD-PATH "/desktop/colortheme/").
Can someone please help me as to what to do from here?
Thanks in advance,
Cameron
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,Lispbox 只是 Emacs、Slime 和 Clozure CL 的预配置包。我认为您可能会混淆该包中的 Emacs Lisp 和 Common Lisp 部分。您需要将显示的代码片段放入 Emacs Lisp 部分,即(在启动时获取该配置)
.emacs
配置文件。 REPL,即CL-USER >
提示符,是 Common Lisp 接口,与 Emacs 的内部工作无关。As far as I know, Lispbox is simply a preconfigured bundle of Emacs, Slime, and Clozure CL. I think that you might be confusing the Emacs Lisp and the Common Lisp parts of that bundle. You need to put the snippet you showed into the Emacs Lisp part, i.e. (to get that configuration at startup) the
.emacs
configuration file. The REPL, that is, theCL-USER >
prompt, is the Common Lisp interface and has nothing to do with Emacs' inner workings.