Subject: Re: bug#13948: no key-binding-locus

From: Nicolas Richard <[email-masked]>
Date: Wed, 04 Jun 2014 16:00:23 +0200

Stefan Monnier <[email-masked]> writes:
>>   (let ((map (yf/key-binding-keymap key t)))
>>     (if (eq map (current-global-map))
>>         t
>>       (yf/find-object-in-variables map))))
>
> Why do we need to treat the global map specially?

to be honest, I did it because
(eq widget-global-map global-map) => t
and I didn't want to see these two results everytime.

> Could you turn it into a self-contained patch (e.g. move the yf/*
> functions to help*.el and rename it accordingly)?

Will do.

-- 
Nico.