unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: 23.1; (elisp)Anonymous Functions - unclear about #'
@ 2009-09-12  2:02 Chong Yidong
  2009-09-12  6:13 ` Drew Adams
  2009-09-12 19:41 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: Chong Yidong @ 2009-09-12  2:02 UTC (permalink / raw)
  To: Drew Adams; +Cc: 4290, emacs-devel

> 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?




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-12 19:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-12  2:02 23.1; (elisp)Anonymous Functions - unclear about #' Chong Yidong
2009-09-12  6:13 ` Drew Adams
2009-09-12 19:41 ` Stefan Monnier

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).