bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13052: 24.3.50; mention recent change of `kbd' to a function in NEWS


From: Juanma Barranquero
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

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 via email to

[Prev in Thread] Current Thread [Next in Thread]