Rename param:base-uri to uri-merge-defaults.
authorChris Hanson <org/chris-hanson/cph>
Sat, 23 Apr 2016 02:37:13 +0000 (19:37 -0700)
committerChris Hanson <org/chris-hanson/cph>
Sat, 23 Apr 2016 02:37:13 +0000 (19:37 -0700)
src/runtime/runtime.pkg
src/runtime/url.scm

index 9cf8bbb66b5c162e25b0cf034657d6b10d8de9a4..15380de2c7ae8a9f65308ca36500fa1c22b38d05 100644 (file)
@@ -5415,7 +5415,6 @@ USA.
          make-uri
          make-uri-authority
          merge-uris
-         param:base-uri
          parse-absolute-uri
          parse-partial-absolute-uri
          parse-partial-uri
@@ -5450,6 +5449,7 @@ USA.
          uri-authority?
          uri-fragment
          uri-host?
+         uri-merge-defaults
          uri-path
          uri-path-absolute?
          uri-path-relative?
index 5606a78b61ccec85c8aca7f92762ea2c2ee6074a..07b5a021295c781c3c4e5f88835b8c4ba8323a3d 100644 (file)
@@ -196,7 +196,7 @@ USA.
               (compute-base-uri base-uri 'MERGE-URIS)))
 
 (define (compute-base-uri base-uri caller)
-  (let ((default (param:base-uri)))
+  (let ((default (uri-merge-defaults)))
     (if default
        (if (default-object? base-uri)
            default
@@ -209,12 +209,12 @@ USA.
              (error "Must supply a base URI for merging:" caller))
          (->absolute-uri base-uri caller)))))
 
-(define param:base-uri)
-(define (make-param:base-uri)
+(define uri-merge-defaults)
+(define (make-uri-merge-defaults)
   (make-parameter #f
                  (lambda (object)
                    (and object
-                        (->absolute-uri object 'param:base-uri)))))
+                        (->absolute-uri object 'uri-merge-defaults)))))
 
 (define (%merge-uris uri base-uri)
   (cond ((uri-scheme uri)
@@ -930,7 +930,7 @@ USA.
        (char-set-union url:char-set:unreserved
                        (string->char-set ";/?:@&=")))
 
-  (set! param:base-uri (make-param:base-uri))
+  (set! uri-merge-defaults (make-uri-merge-defaults))
   unspecific)
 \f
 ;;;; Partial URIs