unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: 13052@debbugs.gnu.org
Subject: bug#13052: 24.3.50; mention recent change of `kbd' to a function in NEWS
Date: Sun, 2 Dec 2012 02:52:04 +0100	[thread overview]
Message-ID: <CAAeL0SSmVGEnuFFdWJaAd9Mo9QfsQVWx7sLvYewnseaJhpJc1g@mail.gmail.com> (raw)
In-Reply-To: <4A0D4F56F5644FECA0E1476F42EA84E8@us.oracle.com>

On Sun, Dec 2, 2012 at 1:28 AM, Drew Adams <drew.adams@oracle.com> wrote:

> 3. (put 'kbd 'pure t)
> What does putting non-nil property `pure' on a function symbol do?  Does
> it mean that the definition will stored in pure storage?

It's not related to pure storage, but to whether the function is
"pure" (without side effecs). If the function is pure and the
arguments satisfy `macroexp-const-p' it is possible to do some
optimization during byte-compilation. See lisp/emacs-lisp/byte-opt.el,
around line 560 or so.

 J





  reply	other threads:[~2012-12-02  1:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-02  0:28 bug#13052: 24.3.50; mention recent change of `kbd' to a function in NEWS Drew Adams
2012-12-02  1:52 ` Juanma Barranquero [this message]
2012-12-02  2:18   ` Drew Adams
2012-12-02  2:26     ` Juanma Barranquero
2012-12-02  3:36       ` Drew Adams
2012-12-02  3:50         ` Juanma Barranquero
2012-12-02  4:07           ` Drew Adams
2012-12-02  4:19             ` Juanma Barranquero
2012-12-02  4:50               ` Drew Adams
2012-12-02 11:33     ` Michael Heerdegen
2012-12-02  9:14 ` Chong Yidong
2012-12-02 17:13   ` Drew Adams
2012-12-06 18:02   ` 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=CAAeL0SSmVGEnuFFdWJaAd9Mo9QfsQVWx7sLvYewnseaJhpJc1g@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=13052@debbugs.gnu.org \
    --cc=drew.adams@oracle.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 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).