help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Looking up key myself


From: Herbert Euler
Subject: Re: Looking up key myself
Date: Tue, 11 Apr 2006 12:51:18 +0800

From: M Jared Finder <address@hidden>
To: address@hidden
CC: address@hidden
Subject: Re: Looking up key myself
Date: Mon, 10 Apr 2006 21:05:25 -0700

I suggest using minor-mode-overriding-map-alist:

(let ((minor-mode-overriding-map-alist
       `((my-mode . ,(make-sparse-keymap)))))
  (key-binding "a"))

It's much simpler than rewriting key-binding.

But even in this way I need to find old key bindings, and
skip my minor mode in the finding process.

Regards,
Guanpeng Xu

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/





reply via email to

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