mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 17:50:29 +02:00
* threads.scm (par-map, par-for-each, parallel):
* documentation.scm (object-documentation): Added support for defmacros.
This commit is contained in:
parent
2ab05d7843
commit
abce330ced
3 changed files with 97 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
;;;; Copyright (C) 2000,2001 Free Software Foundation, Inc.
|
||||
;;;; Copyright (C) 2000,2001, 2002 Free Software Foundation, Inc.
|
||||
;;;;
|
||||
;;;; This program is free software; you can redistribute it and/or modify
|
||||
;;;; it under the terms of the GNU General Public License as published by
|
||||
|
@ -210,6 +210,8 @@ OBJECT can be a procedure, macro or any object that has its
|
|||
`documentation' property set."
|
||||
(or (and (procedure? object)
|
||||
(proc-doc object))
|
||||
(and (defmacro? object)
|
||||
(proc-doc (defmacro-transformer object)))
|
||||
(and (macro? object)
|
||||
(let ((transformer (macro-transformer object)))
|
||||
(and transformer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue