From: Christopher Schmidt Date: Sun, 17 Mar 2013 16:51:36 +0000 (+0100) Subject: * symbols.texi (Standard Properties): Document pure. (Bug#13823) X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~553 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5784e31964a8c0c26ff47abc77575a333f0dd604;p=emacs.git * symbols.texi (Standard Properties): Document pure. (Bug#13823) --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 7455881518a..1435f24202d 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,7 @@ +2013-03-17 Christopher Schmidt + + * symbols.texi (Standard Properties): Document pure. (Bug#13823) + 2013-03-16 Glenn Morris * elisp.texi: Add some stuff specific to www.gnu.org. diff --git a/doc/lispref/symbols.texi b/doc/lispref/symbols.texi index 9f916549902..82dfa0f4917 100644 --- a/doc/lispref/symbols.texi +++ b/doc/lispref/symbols.texi @@ -539,8 +539,9 @@ deleted from the local value of a hook variable when changing major modes. @xref{Setting Hooks}. @item pure -This property is used internally to mark certain named functions for -byte compiler optimization. Do not set it. +If the value is non-@code{nil}, the named function is considered to be +side-effect free. Calls with constant arguments can be evaluated at +compile time. This may shift run time errors to compile time. @item risky-local-variable If the value is non-@code{nil}, the named variable is considered risky