我正在運行Aquamacs + Slime,當我啓動Aquamacs時,我可以自動啓動Slime。但是,當我嘗試加載lisp文件後,我不斷收到各種錯誤,具體取決於我如何加載文件。這裏是我的preferences.elAquamacs + slime:在啓動時加載一個lisp文件
(setq inferior-lisp-program "~/ccl/dx86cl64"
slime-startup-animation nil)
(require 'slime)
(split-window-horizontally)
(other-window 1)
(slime)
(eval-after-load "slime"
'(progn
(slime-compile-and-load-file "/Users/xxxxx/xxxxx/load-seq.lisp")
))
我收到以下錯誤
error: Buffer *inferior-lisp* is not associated with a file.
我試過其它功能,包括load
compile-and-load
和slime-load-file
分別得到了以下錯誤...
Invalid read syntax: #
Symbol's function definition is void: compile-and-load
error: Not connected.
lisp文件加載(並編譯)罰款,當我從泥漿REPL (load "/Users/xxxxx/xxxxx/load-seq.lisp")
。看起來好像當我把它放在Preferences.el中時,即使我使用eval-after-load
,它也不會等待粘液加載。