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

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

bug#54842: 28.1; Args out of range: 0, 0


From: Lars Ingebrigtsen
Subject: bug#54842: 28.1; Args out of range: 0, 0
Date: Mon, 11 Apr 2022 12:41:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Markus Triska <triska@metalevel.at> writes:

> This used to work without error in Emacs 26.1 and earlier. I think the
> regression was introduced in commit 74ff5ade800, where, in simple.el,
> the test:
>
>     (= (length cur) 0)
>
> was replaced by:
>
>     (string= cur "")
>
> The former test works also if cur is nil, whereas the latter and now
> current test raises the above mentioned error if cur is nil.
>
> If possible, could you restore the previous behaviour, so that Emacs
> again works reliably in such cases?

Yup; I've now made that fix on the emacs-28 branch, so it'll be in Emacs
28.2.

-- 
(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]