[Top][All Lists]

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

Re: ffap bindings suggestion

From: Stefan Monnier
Subject: Re: ffap bindings suggestion
Date: Sun, 12 Feb 2006 15:48:12 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>       In one of my libraries, I use a minor mode, and restore the
>       original bindings when the mode is exited. I find that
>       clean. However, the library currently just restores the vanilla
>       Emacs (-q) bindings; it would of course be better to save the
>       bindings at the time of entry into the mode, and restore those
>       (original user bindings) when the mode is exited. I'm not
>       referring here to a keymap that is local to the mode; in my
>       case, the minor mode changes minibuffer key bindings. (Using a
>       local keymap is obviously the way to go when appropriate.)

BTW, why do you change the minibuffer-local-map rather than simply use
a proper minor mode with minor-mode-map-alist?


reply via email to

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