Skip to content

Instantly share code, notes, and snippets.

@lispm
Created November 15, 2012 22:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lispm/4081687 to your computer and use it in GitHub Desktop.
Save lispm/4081687 to your computer and use it in GitHub Desktop.
defining a logical pathname LIB: for the LispWorks library
(setf (logical-pathname-translations "LIB")
`(("**;*" ,(make-pathname
:name :wild
:directory (append (pathname-directory
(sys:lisp-library-directory))
(list :wild-inferiors))
:defaults (sys:lisp-library-directory)))))
; now you can use the logical pathname LIB to refer to LispWorks files:
; (compile-file-if-needed "lib:examples;editor;commands;space-show-arglist.lisp" :load t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment