X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdocument-backend.scm;h=f71689d3c0a9965e8ee88a4cdef6a942736e7df6;hb=e3b1bd9a8a9eccfbcc48f9f44ba20b5a92481868;hp=0195ad9252fc0c84633415529aaa33c4d9199522;hpb=57be7394ffa2e7d7ba6d60548dba563f3409d472;p=lilypond.git diff --git a/scm/document-backend.scm b/scm/document-backend.scm index 0195ad9252..f71689d3c0 100644 --- a/scm/document-backend.scm +++ b/scm/document-backend.scm @@ -2,7 +2,7 @@ ;;;; ;;;; source file of the GNU LilyPond music typesetter ;;;; -;;;; (c) 2000--2005 Han-Wen Nienhuys +;;;; (c) 2000--2006 Han-Wen Nienhuys ;;;; Jan Nieuwenhuizen (define (interface-doc-string interface grob-description) @@ -139,10 +139,10 @@ node." ;;;;;;;;;;;;;;;; (define (lookup-interface name) - (let* ((entry (hashq-ref (ly:all-grob-interfaces) name '()))) - (if (equal? entry #f) - (ly:error (_ "unknown interface: ~S") name)) - entry)) + (let* ((entry (hashq-ref (ly:all-grob-interfaces) name #f))) + (if entry + entry + (ly:error (_ "unknown Grob interface: ~S") name)))) (define (all-interfaces-doc) (make