(use-modules (gschem selection)) (define (append-selected-attribs-prefix! prefix) (for-each (lambda (object) (and (attribute? object) (set-attrib-value! object (string-append prefix (attrib-value object))))) (page-selection (active-page))))