emacs-devel
[Top][All Lists]
Advanced

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

RE: customizing key definitions with Customize


From: Drew Adams
Subject: RE: customizing key definitions with Customize
Date: Wed, 14 May 2008 21:36:25 -0700

>     Yes, you can use it for Lisp mode. 
> 
> Can you show how it would be used for Lisp mode?

See my message from yesterday, with the attached Lisp file. Load the file and
try it for yourself. I gave the example of bookmark-map, but you can just as
easily use lisp-mode map - just substitute "lisp-mode" for "bookmark":

> Command `custom-create-keymap-option' creates a user option 
> of the same name as its keymap argument, but with `-defs'
> appended. E.g.,
> 
>  M-x custom-create-keymap-option RET bookmark-map
> 
> Completion is available for keymap-valued symbols. Then you 
> can customize the
> new option that corresponds to the keymap:
> 
>  M-x customize-option RET bookmark-map-defs

Please read the whole message, however, to minimize misunderstanding.





reply via email to

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