Timothy A Zitzer writes:
> (if default
> (define-key 'edt-default-global-map 'f12 gold-binding)
> (define-key 'edt-user-gold-map 'f12 gold-binding))
The *-maps are *variables*. Try removing the quotation so that they
can be evaluated:
(if default
(define-key edt-default-global-map 'f12 gold-binding)
(define-key edt-user-gold-map 'f12 gold-binding))