|
From: | Lennart Borgman |
Subject: | Re: Function for deleting a key binding in a sparse keymap |
Date: | Wed, 07 Dec 2005 10:56:39 +0100 |
User-agent: | Mozilla Thunderbird 1.0.7 (Windows/20050923) |
Stefan Monnier wrote:
I set the "help keys" to nil so that the help is still available during resizing. Those are the keys I want to remove afterwards. The default value in the sparse keymap bw-keymap is:(define-key bw-keymap [t] 'bw-exit-resize-mode)I see. Coming from a functional programming background, I'd use anoter approach based on the idea of reusing the original value rather than using side-effects to try and coerce it back to the same shape it had originally:
Thanks for the idea. That seems much more easy.
[Prev in Thread] | Current Thread | [Next in Thread] |