Subject: bug#64290: “named-let” doc bug?

From: Shynur Xie <[email-masked]>
Date: Sun, 25 Jun 2023 23:16:41 +0000

The following code seems fine semantically and grammatically:

    ;; -*- lexical-binding: nil; -*-
    (named-let f ((n 1))
      (dotimes (i n)
        (f 0)))

But it throws error.

Perhaps we should clarify that “‘named-let’ works as expected only
when ‘lexical-binding’ is enabled” in relevant doc?

--
shynur