The function dspec-definition-locations
returns the locations of the definitions recorded for the dspec dspec.
For each known definition recorded-dspec names the definition that defined dspec in location, and location is a pathname or keyword as described in at-location.
Note that non-file locations, such as :unknown
, can occur in the list. The locations in locations are all basic locations: that is, there are no (:inside ...)
locations.
CL-USER 6 > (dspec:dspec-definition-locations
'(defun foo-bar))
(((DEFSTRUCT FOO) #P"C:/temp/hack.lisp"))
LispWorks User Guide and Reference Manual - 13 Feb 2015