
7.5 The Load Facility
:directory keyword argument to the Common Lisp functionmake-pathname, you must specify absolute or relative pathnames by using the symbol:root or the symbol:relative.:root at the front of the list that is given for the keyword:directory:
(make-pathname :directory '(:ROOT "u" "jones"))
:relative at the front of the directories list:
(make-pathname :directory '(:RELATIVE "jones"))
merge-pathnames handles relative pathnames, as the following example demonstrates:> *default-pathname-defaults* #P"/etc/"> (merge-pathnames "subdir") #P"/etc/subdir"
> (make-pathname :host "edsel" :name "getty" :directory
'(:root "usr"))
#P"/usr/getty"
directory accepts the keyword extension:sorted, which can have one of two values:t, the functionpathname-lessp is used to sort the list of pathnames. This value is the default.
nil, the list is not sorted.

Generated with Harlequin WebMaker