emacs-devel
[Top][All Lists]
Advanced

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

Re: Customizing key bindings


From: Alex Schroeder
Subject: Re: Customizing key bindings
Date: Sat, 07 Sep 2002 15:50:47 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.90 (i686-pc-linux-gnu)

Richard Stallman <address@hidden> writes:

>     Allow mode authors to define keymaps that are easily
>     customizable.  Currently keymaps are defined using defvar.  They
>     are not customizable.
>
> I can't find the code you already posted.  Could you show me what the
> *expansion* of the macro is supposed to be?

The defkeymap macro is like defcustom -- it expands into a function
call.  In this case, we call custom-declare-keymap, which in turn
calls custom-declare-variable with some extra keyword parameters to
make sure that when this variable is customized, a lot of other stuff
gets changed, too.

Alex.




reply via email to

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