aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier2014-04-22 12:22:13 -0400
committerStefan Monnier2014-04-22 12:22:13 -0400
commit67c477ae67ae3e83b027fb03c5d11f47fa30566c (patch)
tree8956f7cf4fd6753031db1fbec2ec28965d8dacaa /etc
parent12b1389c9039dd374951673ca43b1ddf65df400d (diff)
downloademacs-67c477ae67ae3e83b027fb03c5d11f47fa30566c.tar.gz
emacs-67c477ae67ae3e83b027fb03c5d11f47fa30566c.zip
* lisp/emacs-lisp/byte-run.el (function-put): New function.
(defun-declarations-alist): Use it. Add `pure' and `side-effect-free'. * lisp/emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type) (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value): Use them.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS9
1 files changed, 7 insertions, 2 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 24f96ee68f7..3f9c47b33f3 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -95,9 +95,14 @@ active region handling.
95 95
96* Lisp Changes in Emacs 24.5 96* Lisp Changes in Emacs 24.5
97 97
98** New function `function-put' to use instead of `put' for function properties.
99
98+++ 100+++
99** You can specify a function's interactive-only property via `declare'. 101** New properties that can be specified with `declare':
100However you specify it, the property affects `describe-function' output. 102*** (interactive-only INSTEAD), tells to use INSTEAD for non-interactive use.
103*** (pure VAL), if VAL is non-nil, indicates the function is pure.
104*** (side-effect-free VAL), if VAL is non-nil, indicates the function does not
105have side effects.
101 106
102** You can access the slots of structures using `cl-struct-slot-value'. 107** You can access the slots of structures using `cl-struct-slot-value'.
103 108