Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asdf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pascal J. Bourguignon
asdf
Commits
79a718d8
Commit
79a718d8
authored
14 years ago
by
Robert P. Goldman
Browse files
Options
Downloads
Patches
Plain Diff
Better approach to having :here directive --- treat it like :home or :user-cache.
parent
abc1cf10
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
asdf.lisp
+12
-5
12 additions, 5 deletions
asdf.lisp
with
12 additions
and
5 deletions
asdf.lisp
+
12
−
5
View file @
79a718d8
...
...
@@ -2769,6 +2769,11 @@ with a different configuration, so the configuration would be re-read then."
(
error
"pathname ~S is not relative to ~S"
s
super
))
(
merge-pathnames*
s
super
)))
(
defvar
*here-directory*
nil
"This special variable is bound to the currect directory during calls to
PROCESS-SOURCE-REGISTRY in order that we be able to interpret the :here
directive."
)
(
defun*
resolve-absolute-location-component
(
x
&key
directory
wilden
)
(
let*
((
r
(
etypecase
x
...
...
@@ -2791,6 +2796,13 @@ with a different configuration, so the configuration would be re-read then."
(
let
((
p
(
make-pathname
:directory
'
(
:relative
))))
(
if
wilden
(
wilden
p
)
p
))))
((
eql
:home
)
(
user-homedir
))
((
eql
:here
)
(
resolve-location
(
aif
*here-directory*
it
;; this is used to give semantics to :here when used
;; interactively.
*default-pathname-defaults*
)
:directory
t
:wilden
nil
))
((
eql
:user-cache
)
(
resolve-location
*user-cache*
:directory
t
:wilden
nil
))
((
eql
:system-cache
)
(
resolve-location
*system-cache*
:directory
t
:wilden
nil
))
((
eql
:default-directory
)
(
default-directory
))))
...
...
@@ -3473,11 +3485,6 @@ with a different configuration, so the configuration would be re-read then."
(
declaim
(
ftype
(
function
(
t
&key
(
:register
(
or
symbol
function
))
(
:inherit
list
))
t
)
process-source-registry-directive
))
(
defvar
*here-directory*
nil
"This special variable is bound to the currect directory during calls to
PROCESS-SOURCE-REGISTRY in order that we be able to interpret the :here
directive."
)
(
defmethod
process-source-registry
((
x
symbol
)
&key
inherit
register
)
(
process-source-registry
(
funcall
x
)
:inherit
inherit
:register
register
))
(
defmethod
process-source-registry
((
pathname
pathname
)
&key
inherit
register
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment