mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 22:31:12 +02:00
* slib.scm (slib-parent-dir): throw error if #f returned from
%search-load-path.
This commit is contained in:
parent
9373b38711
commit
00f06035f1
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz>
|
||||
|
||||
* slib.scm (slib-parent-dir): throw error if #f returned from
|
||||
%search-load-path.
|
||||
|
||||
Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed.
|
||||
|
|
|
@ -127,7 +127,9 @@
|
|||
|
||||
(define slib-parent-dir
|
||||
(let* ((path (%search-load-path "slib/require.scm")))
|
||||
(make-shared-substring path 0 (- (string-length path) 17))))
|
||||
(if path
|
||||
(make-shared-substring path 0 (- (string-length path) 17))
|
||||
(error "Could not find slib/require.scm in " %load-path))))
|
||||
|
||||
(define-public (implementation-vicinity)
|
||||
(string-append slib-parent-dir "/"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue