Fixes doc typos
original commit: 5f0430a5abcae4ae69612923e755759a05174a54
This commit is contained in:
parent
a2910e89c5
commit
21a36a6e51
|
@ -470,7 +470,7 @@ the state transitions / contracts are:
|
||||||
(callback)
|
(callback)
|
||||||
@{Registers @racket[callback] to run twice for each call to @racket[preferences:set]---once
|
@{Registers @racket[callback] to run twice for each call to @racket[preferences:set]---once
|
||||||
before the preferences file is written, with @racket[#t], and once after it is written, with
|
before the preferences file is written, with @racket[#t], and once after it is written, with
|
||||||
@racket[#f}. Registration returns a key for use with @racket{preferences:unregister-save-callback}.
|
@racket[#f]. Registration returns a key for use with @racket[preferences:unregister-save-callback].
|
||||||
Caveats:
|
Caveats:
|
||||||
@itemize{@item{The callback occurs on whichever thread happened to call @racket[preferences:set].}
|
@itemize{@item{The callback occurs on whichever thread happened to call @racket[preferences:set].}
|
||||||
@item{Pre- and post-write notifications are not necessarily paired; unregistration
|
@item{Pre- and post-write notifications are not necessarily paired; unregistration
|
||||||
|
@ -480,7 +480,7 @@ the state transitions / contracts are:
|
||||||
preferences:unregister-save-callback
|
preferences:unregister-save-callback
|
||||||
(-> symbol? void?)
|
(-> symbol? void?)
|
||||||
(key)
|
(key)
|
||||||
@{Unregisters the save callback associated with @racket{key}.})
|
@{Unregisters the save callback associated with @racket[key].})
|
||||||
|
|
||||||
(proc-doc/names
|
(proc-doc/names
|
||||||
exn:make-unknown-preference
|
exn:make-unknown-preference
|
||||||
|
|
Loading…
Reference in New Issue
Block a user