This is of interest for commands like \hide which accept either music
(to see an override) or a grob specification like Accidental or
Voice.Accidental.
(define-public (symbol-list? x)
(and (list? x) (every symbol? x)))
+(define-public (symbol-list-or-music? x)
+ (if (list? x)
+ (every symbol? x)
+ (ly:music? x)))
+
(define-public (string-or-symbol? x)
(or (string? x) (symbol? x)))
(,string-or-music? . "string or music")
(,string-or-symbol? . "string or symbol")
(,symbol-list? . "symbol list")
+ (,symbol-list-or-music? . "symbol list or music")
(,void? . "void")
))