emacs-devel
[Top][All Lists]
Advanced

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

Re: master 13fe8a2: Fix rare undefined behaviors in replace-match


From: Lars Ingebrigtsen
Subject: Re: master 13fe8a2: Fix rare undefined behaviors in replace-match
Date: Sat, 03 Aug 2019 22:07:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

address@hidden (Paul Eggert) writes:

> +     xsignal2 (Qerror,
> +               build_string ("replace-match subexpression does not exist"),
> +               subexp);

This is probably a better error to signal here for this error, but it
possibly changes the behaviour.  If somebody previously had
condition-case'd this for args-out-of-range, then they'll get a new
error signalled now (which is why I kept that signal)...

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