I am trying to use sbcl on Emacs with Slime. The installation seems fine and sbcl works on the terminal.
But when I launch slime on Emacs by typing M-x slime, it produces an error,
apply: Searching for program: no such file or directory, sbcl
I have searched the web and it seems that many people had the same problem. Although I have checked the settings such as syntax, the problem still occurs.
Could anyone tell me why this happens?
;;in .emacs file
(setq inferior-lisp-program "/usr/local/bin/sbcl")
'((sbcl ("sbcl") :coding-system utf-8-unix)
(cmucl ("cmucl") :coding-system iso-latin-1-unix)))
(add-to-list 'load-path "~/.emacs.d/slime")
(add-hook 'lisp-mode-hook (lambda ()
(global-set-key "\C-cs" 'slime-selector)