remove version dependency (fixes #1)

pull/2/head
Matthew Butterick 9 years ago
parent b83a09e6af
commit 7903287fa2

@ -28,11 +28,12 @@
(require racket/class) (require racket/class)
(define (indenter t pos) (define (indenter t pos)
(with-handlers ([exn:fail? (λ(exn) #f)]) ; this function won't work until gui-lib 1.26
(send t compute-racket-amount-to-indent pos (λ(x) (send t compute-racket-amount-to-indent pos (λ(x)
(case x (case x
[("with-pattern" "with-shared-id") 'lambda] [("with-pattern" "with-shared-id") 'lambda]
[("define-macro") 'define] [("define-macro") 'define]
[else #f])))) [else #f])))))
(define (my-get-info key default default-filter) (define (my-get-info key default default-filter)
(case key (case key

@ -4,5 +4,5 @@
(define version "0.01") (define version "0.01")
(define deps '("base" (define deps '("base"
"sugar" "sugar"
["gui-lib" #:version "1.26"])) ; for indenter fix "gui-lib"))
(define build-deps '("racket-doc" "rackunit-lib" "scribble-lib")) (define build-deps '("racket-doc" "rackunit-lib" "scribble-lib"))

Loading…
Cancel
Save