Subject: bug#40375: 27.0.50; yank unexpectedly depends on progn

From: Noam Postavsky <[email-masked]>
Date: Wed, 01 Apr 2020 12:57:28 -0400

Markus Triska <[email-masked]> writes:

>     $ emacs -Q yank.el --eval='(eval-buffer)'

A simpler reproducer is

    (erase-buffer)
    (message "hello")

will print nothing, whereas

    (progn (erase-buffer)
           (message "hello"))

prints "hello".  The problem is the first case erases the code which
calls message before it is read in.