all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: ndokos@gmail.com, 62840-done@debbugs.gnu.org
Subject: bug#62840: 30.0.50; Doc bug: obsolete paragraph in Elisp Ref
Date: Tue, 18 Apr 2023 14:31:47 +0300	[thread overview]
Message-ID: <831qkha0kc.fsf@gnu.org> (raw)
In-Reply-To: <jwv7cudjnzk.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Sat, 15 Apr 2023 09:11:37 -0400)

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Nick Dokos <ndokos@gmail.com>,  62840@debbugs.gnu.org
> Date: Sat, 15 Apr 2023 09:11:37 -0400
> 
> Indeed the "with a `t` at the end" should probably not have been
> documented and can be removed.  The `t` can still appear there
> (sometimes it does sometimes it doesn't).  More important would be to
> document that beside (SYM . VAL) pairs, the env can contain symbols,
> which means that the lexical environment declared that variable as being
> locally considered as a dynbind variable.
> 
> E.g. in
> 
>     (defun my-fun (baz)
>       (defvar my-foo)
>       (lambda (x) (let ((my-foo x)) (bar baz))))
> 
> `my-foo` will appear in the environment of the closure returned by the
> function so as to remember the `defvar` since it affects the execution
> of the body.

Thanks, fixed on the emacs-29 branch, and closing the bug.





      reply	other threads:[~2023-04-18 11:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-14 17:48 bug#62840: 30.0.50; Doc bug: obsolete paragraph in Elisp Ref Nick Dokos
2023-04-15  8:39 ` Eli Zaretskii
2023-04-15 13:11   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-18 11:31     ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=831qkha0kc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=62840-done@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=ndokos@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.