all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to write a self-insert-command-like command?
@ 2015-07-31 21:10 Marcin Borkowski
  2015-07-31 22:35 ` Doug Lewan
  2015-08-01 13:28 ` Michael Heerdegen
  0 siblings, 2 replies; 3+ messages in thread
From: Marcin Borkowski @ 2015-07-31 21:10 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Hi all,

I want to have a command whose behavior will depend on the key used to
invoke it, much like self-insert-command.  How to do that?  Is
last-command-event the right tool for that, or is there a better one?

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



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

end of thread, other threads:[~2015-08-01 13:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-31 21:10 How to write a self-insert-command-like command? Marcin Borkowski
2015-07-31 22:35 ` Doug Lewan
2015-08-01 13:28 ` Michael Heerdegen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.