all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Josh <josh@foxtail.org>, 17180@debbugs.gnu.org
Subject: bug#17180: [PATCH] eldoc doesn't find docstrings for variable aliases
Date: Wed, 26 Jun 2019 16:37:05 +0200	[thread overview]
Message-ID: <m336jw1kha.fsf@gnus.org> (raw)
In-Reply-To: <jwvh88cqutm.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Wed, 26 Jun 2019 10:35:42 -0400")

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	other threads:[~2019-06-26 14:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-03 16:40 bug#17180: [PATCH] eldoc doesn't find docstrings for variable aliases Josh
2014-04-03 17:37 ` Stefan Monnier
2019-06-26 14:27   ` Lars Ingebrigtsen
2019-06-26 14:35     ` Stefan Monnier
2019-06-26 14:37       ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m336jw1kha.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=17180@debbugs.gnu.org \
    --cc=josh@foxtail.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.