Skip to content

Commit 903af51

Browse files
committed
use |How to Design Programs| from htdp-lib instead of the string constant
1 parent 6d9065d commit 903af51

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

drracket/drracket/private/app.rkt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
browser/external
88
setup/getinfo
99
drracket/private/drsig
10+
lang/htdp-langs-save-file-prefix
1011
"../acks.rkt"
1112
"frame-icon.rkt"
1213
pict/snip pict)
@@ -362,7 +363,7 @@
362363
(send-url url)))))])
363364
(add (string-constant plt-homepage) "http://racket-lang.org/")
364365
(add (string-constant pbd-homepage) "http://programbydesign.org/")
365-
(add (string-constant how-to-design-programs) "http://htdp.org/")
366+
(add |How to Design Programs| "http://htdp.org/")
366367

367368
(for-each (λ (tool)
368369
(cond [(drracket:tools:successful-tool-url tool)

drracket/drracket/private/language-configuration.rkt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
syntax/toplevel
2222
browser/external
2323
mrlib/panel-wob
24+
lang/htdp-langs-save-file-prefix
2425
(only-in mzlib/struct make-->vector)
2526

2627
;; ensure that this module is always loaded since it is shared below for pretty big
@@ -2347,9 +2348,9 @@
23472348
(find-relevant-directories '(textbook-pls get-textbook-pls))))
23482349
(λ (x y)
23492350
(cond
2350-
[(string=? (cadr x) (string-constant how-to-design-programs))
2351+
[(string=? (cadr x) |How to Design Programs|)
23512352
#t]
2352-
[(string=? (string-constant how-to-design-programs) (cadr y))
2353+
[(string=? |How to Design Programs| (cadr y))
23532354
#f]
23542355
[else
23552356
(string<=? (cadr x) (cadr y))])))))

drracket/info.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
["macro-debugger" #:version "1.1"]
3333
"net-lib"
3434
"tex-table"
35-
"htdp-lib"
35+
["htdp-lib" #:version "1.7"]
3636
("drracket-plugin-lib" #:version "1.1")
3737
"gui-pkg-manager-lib"
3838
"drracket-tool-lib"

0 commit comments

Comments
 (0)