[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.2-52-g35c0f0
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.2-52-g35c0f06 |
Date: |
Tue, 23 Aug 2011 16:01:46 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=35c0f0672e76ee8cb0007f57b85a0d666365d5d1
The branch, stable-2.0 has been updated
via 35c0f0672e76ee8cb0007f57b85a0d666365d5d1 (commit)
from 31d5976931adf4bd7cd4b0b0cbcbf3b84335f4a1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 35c0f0672e76ee8cb0007f57b85a0d666365d5d1
Author: Andy Wingo <address@hidden>
Date: Tue Aug 23 18:00:02 2011 +0200
module-stexi-documentation #:docs-resolver keyword arg
* module/texinfo/reflection.scm (module-stexi-documentation): Make
#:docs-resolver a keyword argument. Provide back compat with
docs-resolver as an optional argument, though.
-----------------------------------------------------------------------
Summary of changes:
module/texinfo/reflection.scm | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/module/texinfo/reflection.scm b/module/texinfo/reflection.scm
index a69436f..d85f612 100644
--- a/module/texinfo/reflection.scm
+++ b/module/texinfo/reflection.scm
@@ -288,11 +288,16 @@
(else (lp (cdr forms))))))
(define* (module-stexi-documentation sym-name
- #:optional (docs-resolver
- (lambda (name def) def)))
+ #:optional %docs-resolver
+ #:key (docs-resolver
+ (or %docs-resolver
+ (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))
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.2-52-g35c0f06,
Andy Wingo <=