summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès2015-03-11 17:07:41 +0100
committerLudovic Courtès2015-03-11 17:08:02 +0100
commit0301ad0d2b28afa09829667cf75425b8e0cc719c (patch)
treec3373d7c71b0a19042fca9173495328f5c6116aa
parent54ff980370df9cb4301f99c103a922d2917a5102 (diff)
downloadskribilo-0301ad0d2b28afa09829667cf75425b8e0cc719c.tar.gz
skribilo-0301ad0d2b28afa09829667cf75425b8e0cc719c.tar.lz
skribilo-0301ad0d2b28afa09829667cf75425b8e0cc719c.zip
doc: Allow several expressions in the body of a markup procedure.
* doc/modules/skribilo/documentation/api.scm (define-markup-rest): Add ellipsis in the body pattern for DEF.
-rw-r--r--doc/modules/skribilo/documentation/api.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/modules/skribilo/documentation/api.scm b/doc/modules/skribilo/documentation/api.scm
index 76c11ab..46f1d14 100644
--- a/doc/modules/skribilo/documentation/api.scm
+++ b/doc/modules/skribilo/documentation/api.scm
@@ -1,7 +1,8 @@
;;; api.scm -- The style for documenting Scheme APIs.
;;; -*- coding: iso-8859-1 -*-
;;;
-;;; Copyright 2005, 2006, 2007, 2008, 2009, 2012 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright 2005, 2006, 2007, 2008, 2009, 2012,
+;;; 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright 2003, 2004 Manuel Serrano
;;;
;;;
@@ -412,7 +413,7 @@ def @SkribiloExample named @Title {} right x {
;*---------------------------------------------------------------------*/
(define (define-markup-rest def)
(match def
- ((_ (args ___) _)
+ ((_ (args ___) _ ...)
(if (not (pair? args))
args
(let ((l (last-pair args)))