help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: *scratch* "corrupt


From: B. T. Raven
Subject: Re: *scratch* "corrupt
Date: Fri, 14 Oct 2005 12:55:27 GMT

"Ryan Yeske" <rcyeske@gmail.com> wrote in message
877jcgmsgz.fsf@cut.bc.hsia.telus.net">news:877jcgmsgz.fsf@cut.bc.hsia.telus.net...
> jasonr (Jason Rumney) @  f2s.com writes:
>
> > (global-set-key [(super -)] (lambda () (insert ?—)))
>
> The above won't work.  You need to bind keys to commands (interactive
> functions).
>
> (global-set-key [(super -)] (lambda () (interactive) (insert ?—)))

Thanks Ryan and Jason. I had already tried to wrap the inserts into
interactive functions but that didn't work either. Apparently, the super
key can modify only alpha characters.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]