[slime-devel] changing slime-keys
Pascal J.Bourguignon
pjb at informatimago.com
Wed Jun 30 17:14:40 UTC 2004
Helmut Eller writes:
> Pascal J.Bourguignon <pjb at informatimago.com> writes:
>
> > What function should I call when I change slime-keys to have them
> > taken into account immediately?
>
> I think there's no easy way to do that. define-minor-mode uses some
> opaque magic to associate the keymap with the minor-mode; it somehow
> tests if there's already a keymap and does nothing the second time.
> Well, at least that's the situation in Emacs 20. You could try to
> remove slime-mode completely from the minor-mode-map-alist and then
> reload slime.el, but that's quite a bit of work.
And perhaps collect the list of buffer in slime minor modes before and
reset them in the same slime minor mode after?
--
__Pascal Bourguignon__ http://www.informatimago.com/
There is no worse tyranny than to force a man to pay for what he does not
want merely because you think it would be good for him. -- Robert Heinlein
More information about the slime-devel
mailing list