[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66025: 30.0.50; eldoc.el: eldoc--invoke-strategy: register-doc defin
From: |
Vladimir Nikishkin |
Subject: |
bug#66025: 30.0.50; eldoc.el: eldoc--invoke-strategy: register-doc defined with 4 args, called with 5 |
Date: |
Sat, 16 Sep 2023 19:11:12 +0800 |
I am pretty sure it is master, but let me check if my build is somehow broken.
On Sat, 16 Sept 2023 at 18:50, Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: Vladimir Nikishkin <lockywolf@gmail.com>
> > Date: Sat, 16 Sep 2023 17:16:14 +0800
> >
> >
> > Emacs master, hash f13b08be11533c546fed257dcf8e3812a53b672a
> >
> > Line 883 in file eldoc.el defines a lexical function register-doc with 4
> > argumenst (pos string plist origin), which is later, at line 931, called
> > with 5 arguments, (register-doc 0 res nil nil
> > eldoc-documentation-strategy), which leads to an exception.
>
> I don't see the 5-arg call. What I see on the current master branch
> around like 931 is this:
>
> ;; Observe the old and the new protocol:
> (cond (;; Old protocol: got string, e-d-strategy is iself the
> ;; origin function, and we output immediately;
> (stringp res)
> (register-doc 0 res nil eldoc-documentation-strategy)
>
> This calls register-doc with 4 arguments, not 5.
>
> Do you have some local changes, per chance? Or maybe you are not on
> the master branch?
--
Yours sincerely, Vladimir Nikishkin
(Sent from GMail web interface.)