diff --git a/pkgs/scribble-pkgs/scribble-lib/scribble/private/manual-scheme.rkt b/pkgs/scribble-pkgs/scribble-lib/scribble/private/manual-scheme.rkt index 1e870729..26c70f34 100644 --- a/pkgs/scribble-pkgs/scribble-lib/scribble/private/manual-scheme.rkt +++ b/pkgs/scribble-pkgs/scribble-lib/scribble/private/manual-scheme.rkt @@ -177,7 +177,8 @@ [rest (let loop ([a (cdr (syntax-e stx))] [head? #f]) (cond [(identifier? a) (datum->syntax #f (syntax-e a) a a)] - [(and head? (pair? a) (free-identifier=? #'unsyntax (car a))) + [(and head? (pair? a) (and (identifier? (car a)) + (free-identifier=? #'unsyntax (car a)))) a] [(pair? a) (cons (loop (car a) #t) (loop (cdr a) #f))]