--- Begin Message ---
Subject: |
master: Wrong error message with M-: (funcall). |
Date: |
Thu, 13 Jan 2022 07:39:05 +0000 |
Hello, Emacs.
In the master branch, with emacs -Q, do
M-: (funcall) RET
.. The error message one sees is
(void-function nil)
.. This is wrong. There is no function, nil or otherwise, supplied to
funcall. The error message ought to be "Too few arguments", or
something like that.
The cause of the bug lies in Ffuncall in .../src/eval.c. There, the
code uses args[0] without first checking that nargs > 0.
--
Alan Mackenzie (Nuremberg, Germany).
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#53227: master: Wrong error message with M-: (funcall). |
Date: |
Fri, 14 Jan 2022 12:26:58 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>> The patch should hopefully fix both cases, tho as you can see the two
>> cases are fixed separately (which is what I mean by them being two
>> different bugs).
> I can confirm that this fixes the reported problem (and it doesn't lead
> to any test suite regressions), so please do go ahead and push it.
Done, thanks,
Stefan
--- End Message ---