(hash-table-ref/default permanent-local-variables variable #f))
(define permanent-local-variables
- (make-weak-eq-hash-table))
\ No newline at end of file
+ (make-key-weak-eq-hash-table))
\ No newline at end of file
(add-event-receiver! editor-initializations
(lambda ()
- (set! screen-buffer-layouts (make-weak-eq-hash-table))
+ (set! screen-buffer-layouts (make-key-weak-eq-hash-table))
unspecific))
\f
;;;; Point
(get-stepper-buffer state)))
(define stepper-buffers
- (make-weak-eq-hash-table))
+ (make-key-weak-eq-hash-table))
(define (current-stepper-state)
(buffer->stepper-state (current-buffer)))
(define (get-buffer-ynode-regions buffer)
(or (buffer-get buffer 'YNODE-REGIONS)
- (let ((table (make-weak-eq-hash-table)))
+ (let ((table (make-key-weak-eq-hash-table)))
(buffer-put! buffer 'YNODE-REGIONS table)
table)))
(set! typein-saved-windows '())
(set! map-name/internal->external identity-procedure)
(set! map-name/external->internal identity-procedure)
- (set! prompt-histories (make-weak-eq-hash-table))
+ (set! prompt-histories (make-key-weak-eq-hash-table))
unspecific))
(define (make-typein-buffer-name depth)
table)))
(define display/cached-atoms-tables
- (let ((table (make-weak-eq-hash-table)))
+ (let ((table (make-key-weak-eq-hash-table)))
(lambda (display)
(or (hash-table-ref/default table display #f)
(let ((result
#t)))
(define display/selection-records
- (let ((table (make-weak-eq-hash-table)))
+ (let ((table (make-key-weak-eq-hash-table)))
(lambda (display)
(or (hash-table-ref/default table display #f)
(let ((result (make-strong-eq-hash-table)))
(hash-table-delete! memoized-resources url))
(define memoized-resources
- (make-weak-eq-hash-table))
+ (make-key-weak-eq-hash-table))
\f
;;;; Folder operations
(apply handler params)))))))))))
(define (get-xmlrpc-method-handler pathname name)
- (let ((methods (make-weak-eq-hash-table)))
+ (let ((methods (make-key-weak-eq-hash-table)))
(let ((environment (make-expansion-environment pathname)))
(environment-define environment 'define-xmlrpc-method
(lambda (name handler)
(define display/cached-atoms-tables
;; This table needs replacing. It holds interned symbols strongly!
- (let ((table (make-weak-eq-hash-table)))
+ (let ((table (make-key-weak-eq-hash-table)))
(lambda (display)
(let ((key (intern (alien/address-string display))))
(or (hash-table-ref/default table key #f)
(define display/selection-records
;; This table needs replacing. It holds interned symbols strongly.
- (let ((table (make-weak-eq-hash-table)))
+ (let ((table (make-key-weak-eq-hash-table)))
(lambda (display)
(let ((key (intern (alien/address-string display))))
(or (hash-table-ref/default table key #f)
(*xdoc-environment* environment)
(*xdoc-root*)
(*xdoc-late?*)
- (*xdoc-element-properties* (make-weak-eq-hash-table))
+ (*xdoc-element-properties* (make-key-weak-eq-hash-table))
(*xdoc-id-map* (make-strong-eq-hash-table))
- (*xdoc-inputs* (make-weak-eq-hash-table))
- (*xdoc-outputs* (make-weak-eq-hash-table)))
+ (*xdoc-inputs* (make-key-weak-eq-hash-table))
+ (*xdoc-outputs* (make-key-weak-eq-hash-table)))
(let ((document (read/expand-xml-file pathname environment)))
(set! *xdoc-root* (xml-document-root document))
(set! *xdoc-late?* (due-date-in-past?))