Subject: bug#17180: [PATCH] eldoc doesn't find docstrings for variable aliases

From: Stefan Monnier <[email-masked]>
Date: Thu, 03 Apr 2014 13:37:05 -0400

> Incidentally, I wondered whether this would be better addressed
> within `documentation-property' itself

Yes, it should be fixed there directly.

> but I wasn't sure it would be correct to preclude the possibility of
> unique docstrings between aliases and their targets.

documentation-property should simply first check variable-documentation
and only when that fails, follow the alias indirection.

        Stefan