Subject: bug#50900: 27.2; Evaluating open-line with a negative argument changes the behavior of self-insert

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 30 Sep 2021 09:05:58 +0200

Gregory Heytings <[email-masked]> writes:

> A recipe:
>
> emacs -Q
> M-: (open-line -1)
> C-x o
> foobar
>
> IOW, do not quit the debugger.  That "bug" was not present in Emacs
> 24, it exists in Emacs 25 and later.  But I'm not sure it qualifies as
> a "bug".

Heh.  It's an oddity for sure.  And fixing it's pretty easy -- I've now
made `newline' check the argument earlier (before it starts binding all
those variables that affect...  stuff).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no