Export unsave-bug-report. Fix doc typo.

This commit is contained in:
Sam Tobin-Hochstadt 2013-12-02 12:40:10 -05:00
parent 79ffd87a67
commit 1bdeade900
2 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,7 @@
(provide help-desk:report-bug (provide help-desk:report-bug
(struct-out brinfo) (struct-out brinfo)
saved-bug-report-titles/ids saved-bug-report-titles/ids
unsave-bug-report
discard-all-saved-bug-reports) discard-all-saved-bug-reports)
(define (bug-server-url path) (define (bug-server-url path)

View File

@ -13,7 +13,7 @@
(make-mixin-contract frame%) (make-mixin-contract frame%)
values]) values])
void?]{ void?]{
Opens a bug report window to edit the but report identified by @racket[this-bug-id]. Opens a bug report window to edit the bug report identified by @racket[this-bug-id].
If @racket[this-bug-id] is @racket[#f], then creates a new bug ID and uses that one. If @racket[this-bug-id] is @racket[#f], then creates a new bug ID and uses that one.
The @racket[frame-mixin] argument is passed the frame class before creating the window. The @racket[frame-mixin] argument is passed the frame class before creating the window.
@ -28,6 +28,10 @@
open in frames. open in frames.
} }
@defproc[(unsave-bug-report [bug-id exact-positive-integer?]) void?]{
Deletes the saved bug report identified by @racket[bug-id].
}
@defstruct[brinfo ([title label-string?] @defstruct[brinfo ([title label-string?]
[id number?]) #:transparent]{ [id number?]) #:transparent]{
A record representing a saved bug report. The @racket[id] field is suitable A record representing a saved bug report. The @racket[id] field is suitable