unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Chong Yidong'" <cyd@stupidchicken.com>
Cc: 4290@emacsbugs.donarmstrong.com, emacs-devel@gnu.org
Subject: bug#4290: 23.1; (elisp)Anonymous Functions - unclear about #'
Date: Fri, 11 Sep 2009 23:13:03 -0700	[thread overview]
Message-ID: <6DD4D33E0F8047689FE8694B588D9789__18925.5555313595$1252736853$gmane$org@us.oracle.com> (raw)
In-Reply-To: <87my50gbtq.fsf@stupidchicken.com>

> > This Info node is unclear. It combines pre-Emacs 22 text that
> > explicitly says that lambda forms are *not* byte-compiled unless you
> > use `#'' or `function', with this statement that says that they are:
> 
> >   Nowadays it is possible to omit `function' entirely, like this:
> >      (defun double-property (symbol prop)
> >        (change-property symbol prop (lambda (x) (* 2 x))))
> >   This is because `lambda' itself implies `function'.
> 
> Thanks for spotting this.
> 
> Hmm---is `function' still useful for anything?

At the very least it is needed for comptability with older Emacs versions. It
needs to be tolerated, at least.






       reply	other threads:[~2009-09-12  6:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87my50gbtq.fsf@stupidchicken.com>
2009-09-12  6:13 ` Drew Adams [this message]
2009-09-12 19:41 ` bug#4290: 23.1; (elisp)Anonymous Functions - unclear about #' Stefan Monnier
2009-09-12  2:02 Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2009-08-29 21:07 Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='6DD4D33E0F8047689FE8694B588D9789__18925.5555313595$1252736853$gmane$org@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=4290@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).