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

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

Re: Use of 'pause' as key prefix


From: Kenneth Jacker
Subject: Re: Use of 'pause' as key prefix
Date: Mon, 05 Nov 2007 08:39:50 -0500
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Wow, thanks Stefan, for the fast reply!

  sk> (defvar pause-map nil "Keybindings with Pause as prefix")
  sk> (define-prefix-command 'pause-map)

  sk> (global-set-key '[(pause)] 'pause-map)
  sk> (define-key pause-map '[(t)] '(lambda ()
  sk>                           (interactive)
  sk>                           (insert "Testing Pause Prefix")))


Sorry, but I don't understand how to use the above to define
additional associations using 'pause-map', e.g., "pause a", "pause b",
etc.  Maybe time for me to RTFM?  ;-)

Thanks again,

  -Kenneth


reply via email to

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