|
From: | Kevin Rodgers |
Subject: | Re: isearch key bindings [was: Why function behaves differently when bound to different key combo?] |
Date: | Sun, 30 Nov 2008 08:22:11 -0700 |
User-agent: | Thunderbird 2.0.0.18 (Macintosh/20081105) |
Xah Lee wrote:
On Nov 28, 12:54 pm, Alan Mackenzie <a...@muc.de> wrote:If you put that functionality inisearch-mode-hook, you'll rebind these keys EVERY time you start anisearch. I suppose, with the power of modern PCs, you won't notice too much, but the cells in theisearchkey map might get a little worn out. :-)Thanks. I haven't thought of that. I'll have to make it minor mode soon.
I think that's overkill, and that Alan was hinting that you could just move those define-key forms to the top level. (Since isearch is dumped into the emacs executable, isearch-mode-map is defined at startup.) Or you could be extra-safe and use eval-after-load. -- Kevin Rodgers Denver, Colorado, USA
[Prev in Thread] | Current Thread | [Next in Thread] |