X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdocument-context-mods.scm;h=d115389a1f9329c84487d2d3f2bae6d6306c8ade;hb=9f2135fa9453892d7ddd3bb9c57f83f9a4e95f11;hp=85f46de406b332eb144a1dcacd09fab4cfabc8b7;hpb=4bb29573149a0ffa1f881c5e38a0fe68e9e76b67;p=lilypond.git diff --git a/scm/document-context-mods.scm b/scm/document-context-mods.scm index 85f46de406..d115389a1f 100644 --- a/scm/document-context-mods.scm +++ b/scm/document-context-mods.scm @@ -1,6 +1,6 @@ ;;;; This file is part of LilyPond, the GNU music typesetter. ;;;; -;;;; Copyright (C) 2011 Neil Puttock +;;;; Copyright (C) 2011--2012 Neil Puttock ;;;; ;;;; LilyPond is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License as published by @@ -73,7 +73,11 @@ " name-sym name-sym - (if (pair? docstring) (cadar docstring) "(undocumented; fixme)") + (if (pair? docstring) + (cadar docstring) + (begin + (ly:warning "context modification `~a' not documented." name-sym) + "(undocumented; fixme)")) (map document-mod-list mod-list)))) (define (document-mod obj-pair)