fix module-laguage info from scribble/doc
svn: r18729
This commit is contained in:
parent
8e36e8e3eb
commit
6cd548b0f3
|
@ -1,8 +1,14 @@
|
|||
#lang scheme/base
|
||||
(require (prefix-in doc: scribble/doc/reader))
|
||||
(provide (rename-out [doc:read read] [doc:read-syntax read-syntax])
|
||||
(provide (rename-out [doc:read read]
|
||||
[my:read-syntax read-syntax])
|
||||
get-info)
|
||||
|
||||
(define (my:read-syntax . args)
|
||||
(let ([s (apply doc:read-syntax args)])
|
||||
;; For now, remove the 'module-language property added by `doc:read-syntax'
|
||||
(syntax-property s 'module-language #f)))
|
||||
|
||||
(define (get-info . args)
|
||||
(lambda (key defval)
|
||||
(case key
|
||||
|
|
Loading…
Reference in New Issue
Block a user