On 16 Aug 2002, Ville Skyttä wrote:
On Thu, 2002-08-15 at 22:44, Peter Osterlund wrote:
>
> Marking p4-toggle-read-only for autoload seems to fix it. However, I
> wonder why the substitute-key-definition is autoloaded in the first place:
>
> ;;;###autoload
> (substitute-key-definition p4-prev-toggle-fkn 'p4-toggle-read-only
> global-map)
Yes, I'm wondering the same thing here...
I've removed the autoload from p4.el now.
Yep. And the whole idea of messing around with global keymappings
this
way seems somewhat scary to me, shouldn't it just be set in the buffer
local map where the p4 stuff is active (or did I miss something)?
I guess it was done this way because vc.el does the same thing. The local
keymap idea sounds good. I'll investigate that.
--
Peter Osterlund - petero2(a)telia.com
http://w1.894.telia.com/~u89404340