summaryrefslogtreecommitdiff
path: root/module/texinfo/reflection.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/texinfo/reflection.scm')
-rw-r--r--module/texinfo/reflection.scm7
1 files changed, 1 insertions, 6 deletions
diff --git a/module/texinfo/reflection.scm b/module/texinfo/reflection.scm
index d85f61239..50cb2ab05 100644
--- a/module/texinfo/reflection.scm
+++ b/module/texinfo/reflection.scm
@@ -288,16 +288,11 @@
(else (lp (cdr forms))))))
(define* (module-stexi-documentation sym-name
- #:optional %docs-resolver
#:key (docs-resolver
- (or %docs-resolver
- (lambda (name def) def))))
+ (lambda (name def) def)))
"Return documentation for the module named @var{sym-name}. The
documentation will be formatted as @code{stexi}
(@pxref{texinfo,texinfo})."
- (if %docs-resolver
- (issue-deprecation-warning
- "module-stexi-documentation: use #:docs-resolver instead of a positional argument."))
(let* ((commentary (and=> (module-commentary sym-name)
(lambda (x) (string-trim-both x #\newline))))
(stexi (string->stexi commentary))