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

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

Re: [h-e-w] Supplying Argument to a Function in a Key Binding


From: Francis Litterio
Subject: Re: [h-e-w] Supplying Argument to a Function in a Key Binding
Date: Wed, 04 Dec 2002 15:47:18 -0500
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-msvc-nt5.0.2195)

Raymond Zeitler wrote:

> I'm trying to bind [S-left] to what C-u 1 C-x < normally invokes.
> I've added this (and some variations) to my .emacs:
>
> (global-set-key (quote [S-left]) (quote scroll-left '1))

This:

        (global-set-key [S-left] #'(lambda () (interactive) (scroll-left 1)))

or, more crudely:

        (global-set-key [S-left] "\C-u1\C-x<")
--
Francis Litterio
address@hidden
http://world.std.com/~franl/
GPG and PGP public keys available on keyservers.





reply via email to

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