diff options
author | Ludovic Courtès | 2015-03-11 17:07:41 +0100 |
---|---|---|
committer | Ludovic Courtès | 2015-03-11 17:08:02 +0100 |
commit | 0301ad0d2b28afa09829667cf75425b8e0cc719c (patch) | |
tree | c3373d7c71b0a19042fca9173495328f5c6116aa /doc/modules | |
parent | 54ff980370df9cb4301f99c103a922d2917a5102 (diff) | |
download | skribilo-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.
Diffstat (limited to 'doc/modules')
-rw-r--r-- | doc/modules/skribilo/documentation/api.scm | 5 |
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))) |