summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/warnings.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2020-11-01 15:57:12 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2020-11-01 18:22:11 +0100
commitd85e0df7adaa21e20d44e7bbca62fa91272506bd (patch)
tree9a1b488ccb65cb3e1b2d6e2aaac352c924ba245c /lisp/emacs-lisp/warnings.el
parentd8601684934e8c4b72002c7d84036ca48048187f (diff)
downloademacs-d85e0df7adaa21e20d44e7bbca62fa91272506bd.tar.gz
emacs-d85e0df7adaa21e20d44e7bbca62fa91272506bd.tar.bz2
emacs-d85e0df7adaa21e20d44e7bbca62fa91272506bd.zip
Add missing side-effect-free and error-free properties
Any function that is pure is also side-effect-free and some are also error-free. Right now these have to be declared separately. * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Add bool-vector-count-consecutive, bool-vector-count-population, bool-vector-subsetp, copysign, isnan, lax-plist-get, ldexp, memql, regexp-opt and string-to-syntax. (side-effect-and-error-free-fns): Add type-of. * lisp/subr.el (kbd, string-replace): Declare side-effect-free.
Diffstat (limited to 'lisp/emacs-lisp/warnings.el')
0 files changed, 0 insertions, 0 deletions