Subject: bug#7408: 23.2.1 dolist -- subr.el and cl-macs differ with nil-block return

From: Eli Zaretskii <[email-masked]>
Date: Sun, 21 Nov 2010 19:49:59 +0200

> Date: Sun, 21 Nov 2010 11:08:48 +0200
> From: jari <[email-masked]>
> Cc: [email-masked]
> 
> On 2010-11-21 00:45, Stefan Monnier wrote:
> | >     $ emacs -Q
> | 
> | >     (progn
> | >       (autoload 'return "cl-macs" nil nil 'macro)
> | >       (dolist (elt '(1 2))
> | >         (return elt)))
> | 
> | This causes cl-macs to be run at an unexpected time.  I.e. it's ruled
> | out for being a contrived example. 
> 
> Is the above code not valid?

Breaking news: you can easily hang yourself with a rope made of valid
ELisp code.