I have installed slime using https://github.com/thephoeron/slime-pack and want to explore the common-lisp a bit more.
How do I access the source for a particular function in emacs?
for example, if I have a function:
(type-of 1)
and I want to visit the source of type-of
, how can this be done?
Meta .
It calls the function:
slime-edit-definition
For jumping to functions inside your lisp implementation you may need to do something extra to point to the sources. In SBCL you have to
sb-ext:set-sbcl-source-location
to the correct place in.sbclrc
:You can edit
.sbclrc
with C-xC-f~/.sbclrc
in Emacs.