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

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

RE: F2


From: Drew Adams
Subject: RE: F2
Date: Wed, 2 Mar 2011 14:56:43 -0800

> > How would I determine the value of "foo-mode-map" to use.
> 
> I was hoping someone more knowledgable would pipe up with a better
> answer, but here's my suggestion:  The variable "major-mode" has the
> name of the current major mode, and "minor-mode-list" has all possible
> minor modes.  A minor mode is active if a variable with that name is
> defined and non-nill.  The map name should be the name of one of these
> modes with "-map" at the end of it.  You might have to guess which one
> is binding the key you don't like.

For a human-readable list of the key bindings provided by a given keymap
variable, use `describe-keymap', defined in library `help-fns+.el'.
http://www.emacswiki.org/emacs/download/help-fns%2b.el




reply via email to

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