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

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

global-set-key with parameter


From: Fred Picher
Subject: global-set-key with parameter
Date: Wed, 8 Oct 2008 11:32:31 -0700 (PDT)

Hello all,

  I would like to bind the following function and parameter to the F5
key in emacs 23, which is currently undefined.  This is to save the
buffer layout to be recalled using the lowercase 'w' key:

C-x r w w

  That would be the window-configuration-to-register command I
think.  I could do something like:

(global-set-key [f5]    'window-configuration-to-register)

  But how is the 'w' parameter passed to this command ?

Thanks.



      __________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now at
http://ca.toolbar.yahoo.com.





reply via email to

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