emacs-devel
[Top][All Lists]
Advanced

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

Adding a default binding to a keymap


From: Lennart Borgman
Subject: Adding a default binding to a keymap
Date: Sat, 30 Jul 2005 11:55:50 +0200
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

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?




reply via email to

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