Xemacs Problem

Aidan Kehoe kehoea at parhasard.net
Tue Aug 7 03:21:01 EDT 2007


 Ar an séiú lá de mí Lúnasa, scríobh Timothy A Zitzer: 

 > Thanks for your response.  I removed the quotation and received the 
 > message:  "Symbol's function definition is void:  gold-binding"
 > 
 > Is gold-binding not the right definition?

You need to have a command (= a function with an (interactive) call after
the doc string) available called gold-binding. Once that is true, try the
following: 

 (if default
     (define-key edt-default-global-map 'f12 'gold-binding)
   (define-key edt-user-gold-map 'f12 'gold-binding))


 > Thanks again for your time,
 > 
 > -Tim
 > 
 > 
 > 
 > "Stephen J. Turnbull" <stephen at xemacs.org> 
 > 08/04/2007 02:24 AM
 > 
 > To
 > Timothy A Zitzer <tzitzer at usgs.gov>
 > cc
 > xemacs-beta at xemacs.org
 > Subject
 > Xemacs Problem
 > 
 > 
 > 
 > 
 > 
 > 
 > 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))

-- 
On the quay of the little Black Sea port, where the rescued pair came once
more into contact with civilization, Dobrinton was bitten by a dog which was
assumed to be mad, though it may only have been indiscriminating. (Saki)



More information about the XEmacs-Beta mailing list