bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Lars Ingebrigtsen
Subject: bug#17180: [PATCH] eldoc doesn't find docstrings for variable aliases
Date: Wed, 26 Jun 2019 16:37:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> +  /* If we don't have any documentation for this symbol, try to see whether
>> + it's an indirect variable and get the documentation from there
>> instead. */
>> +  if (NILP (tem))
>> +    {
>> +      Lisp_Object indirect = Findirect_variable (symbol);
>> +      if (!NILP (indirect))
>> +    tem = Fget (indirect, prop);
>> +    }
>
> In theory documentation-property can be used for any property, so it's
> not necessarily specific to variables.  IOW I think we should only do
> that if `prop` is `variable-documentation`.

Ah, makes sense.  I'll fix that up...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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