Permalink
Browse files

Change local projects system search priority.

Old order: Local projects, ASDF registry, Quicklisp systems. Under
this scheme, there was actually no way to override local projects
without messing with the filesystem.

New order: ASDF registry, local projects, Quicklisp systems. With this
setup, changing your ASDF registry can override local projects.
  • Loading branch information...
1 parent 1b65865 commit 9c6e67ad661cc2f397664dc35b3621cdcd1390fd @xach xach committed Nov 15, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 setup.lisp
View
4 setup.lisp
@@ -199,8 +199,8 @@
asdf:*system-definition-search-functions*)
(setf asdf:*system-definition-search-functions*
(append asdf:*system-definition-search-functions*
- (list 'system-definition-searcher))))
- (pushnew 'local-projects-searcher asdf:*system-definition-search-functions*)
+ (list 'local-projects-searcher
+ 'system-definition-searcher))))
(let ((files (nconc (directory (qmerge "local-init/*.lisp"))
(directory (qmerge "local-init/*.cl")))))
(with-simple-restart (abort "Stop loading local setup files")

0 comments on commit 9c6e67a

Please sign in to comment.