unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Adding a default binding to a keymap
@ 2005-07-30  9:55 Lennart Borgman
  0 siblings, 0 replies; only message in thread
From: Lennart Borgman @ 2005-07-30  9:55 UTC (permalink / raw)


You can add a default binding to a keymap if you know the structure for 
a keymap. For example to add 'ignore you can do something like this:

    (setcdr (cdr my-keymap) (cons (cons t 'ignore ) (cdr (cdr 
my-keymap)) )) 

However it does not feel quite right. Is there another way to do this?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-30  9:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-30  9:55 Adding a default binding to a keymap Lennart Borgman

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).