Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
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
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Carl Shapiro
cmucl
Commits
f4d1e1ff
Commit
f4d1e1ff
authored
33 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Added SEARCH-LIST-DEFINED-P, a predicate that tells if the search list is
currently defined.
parent
9b6ef51f
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
code/pathname.lisp
+12
-2
12 additions, 2 deletions
code/pathname.lisp
with
12 additions
and
2 deletions
code/pathname.lisp
+
12
−
2
View file @
f4d1e1ff
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
;;;
(
ext:file-comment
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/pathname.lisp,v 1.
8
1992/0
2/24 00:52:13
wlott Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/pathname.lisp,v 1.
9
1992/0
3/10 15:06:59
wlott Exp $"
)
;;;
;;;
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
...
@@ -29,7 +29,8 @@
...
@@ -29,7 +29,8 @@
load-logical-pathname-translations
*default-pathname-defaults*
))
load-logical-pathname-translations
*default-pathname-defaults*
))
(
in-package
"EXTENSIONS"
)
(
in-package
"EXTENSIONS"
)
(
export
'
(
search-list
clear-search-list
enumerate-search-list
))
(
export
'
(
search-list
search-list-defined-p
clear-search-list
enumerate-search-list
))
(
in-package
"LISP"
)
(
in-package
"LISP"
)
...
@@ -940,6 +941,15 @@
...
@@ -940,6 +941,15 @@
(
search-list-expansions
search-list
))
(
search-list-expansions
search-list
))
(
error
"Search list ~S has not been defined yet."
pathname
)))))
(
error
"Search list ~S has not been defined yet."
pathname
)))))
;;; SEARCH-LIST-DEFINED-P -- public.
;;;
(
defun
search-list-defined-p
(
pathname
)
"Returns T if the search-list starting PATHNAME is currently defined, and
NIL otherwise. An error is signaled if PATHNAME does not start with a
search-list."
(
with-pathname
(
pathname
pathname
)
(
search-list-defined
(
extract-search-list
pathname
t
))))
;;; %SET-SEARCH-LIST -- public setf method
;;; %SET-SEARCH-LIST -- public setf method
;;;
;;;
;;; Set the expansion for the search-list in PATHNAME. If this would result
;;; Set the expansion for the search-list in PATHNAME. If this would result
...
...
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