unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* function BUG - workaround in 20.4, none in 21.3, help!
@ 2003-02-11 23:19 Jeff W
  2003-02-12 15:33 ` Jeff W
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff W @ 2003-02-11 23:19 UTC (permalink / raw)


Hi - in 20.4, the function edt-bind-gold-key is defined as

(edt-bind-gold-key KEY GOLD-BINDING &optional DEFAULT)

If you use the optional argument and define it as true.  This works. 
However, in 21.3, the function was redefined without the optional
argument.  That's ok, except that when you use this function in EITHER
20.4 or 21.3 with only 3 arguments, it fails with the message

Error in init file: Wrong type argument: keymapp, edt-user-gold-map. 
(same error in both versions).

Anyone know how I can make this work?  We're moving to 21.3 sitewide
(Linux) and if I can't fix this I'm hosed.

Thanks!
/j

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: function BUG - workaround in 20.4, none in 21.3, help!
  2003-02-11 23:19 function BUG - workaround in 20.4, none in 21.3, help! Jeff W
@ 2003-02-12 15:33 ` Jeff W
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff W @ 2003-02-12 15:33 UTC (permalink / raw)


jeffw_00@kwcpa.com (Jeff W) wrote in message news:<501727be.0302111519.381f028c@posting.google.com>...
> Hi - in 20.4, the function edt-bind-gold-key is defined as
> 
> (edt-bind-gold-key KEY GOLD-BINDING &optional DEFAULT)
> 
> If you use the optional argument and define it as true.  This works. 
> However, in 21.3, the function was redefined without the optional
> argument.  That's ok, except that when you use this function in EITHER
> 20.4 or 21.3 with only 3 arguments, it fails with the message
> 
> Error in init file: Wrong type argument: keymapp, edt-user-gold-map. 
> (same error in both versions).

The command usage looks like:

(edit-bind-gold-key  "q"  `edt-quit t)<- works on 20.4 - 20.7, illegal in 21.3

(edit-bind-gold-key  "q"  `edt-quit)<- fails in all versions, required form in 21.3

> Anyone know how I can make this work?  We're moving to 21.3 sitewide
> (Linux) and if I can't fix this I'm hosed.
> 
> Thanks!
> /j

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-12 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-11 23:19 function BUG - workaround in 20.4, none in 21.3, help! Jeff W
2003-02-12 15:33 ` Jeff W

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).