emacs-devel
[Top][All Lists]
Advanced

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

Re: List of major modes?


From: Lennart Borgman
Subject: Re: List of major modes?
Date: Mon, 14 Nov 2005 17:40:48 +0100
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

Kevin Rodgers wrote:


For example:

   * The major mode should usually have its own keymap, which is used
     as the local keymap in all buffers in that mode.  The major mode
     command should call `use-local-map' to install this local map.
     *Note Active Keymaps::, for more information.

     This keymap should be stored permanently in a global variable named
     `MODENAME-mode-map'.  Normally the library that defines the mode
     sets this variable.

So you could check (keymapp (intern-soft (concat mode "-map"))) in the
apropos-internal PREDICATE.

What about autoloading?




reply via email to

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