From 0301ad0d2b28afa09829667cf75425b8e0cc719c Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 11 Mar 2015 17:07:41 +0100 Subject: 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. --- doc/modules/skribilo/documentation/api.scm | 5 +++-- 1 file 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 +;;; Copyright 2005, 2006, 2007, 2008, 2009, 2012, +;;; 2015 Ludovic Courtès ;;; 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))) -- cgit v1.2.3