summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2019-04-17 17:35:12 +0100
committerBasil L. Contovounesios <contovob@tcd.ie>2019-04-21 19:04:13 +0100
commit3a618e5f89c86bc96925b06647fb33568c8fa2c9 (patch)
tree77487517357855b75b3551f3dddcb929ce3d0195 /lisp/emacs-lisp
parent2ea55c2774e726c7e393ee81b152aa9734c410cb (diff)
downloademacs-3a618e5f89c86bc96925b06647fb33568c8fa2c9.tar.gz
Move side-effect-free from unsafep.el to subr.el
* lisp/emacs-lisp/unsafep.el: Move side-effect-free property setting from here... * lisp/subr.el: ...to here, as function declarations for modularity.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/unsafep.el5
1 files changed, 0 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/unsafep.el b/lisp/emacs-lisp/unsafep.el
index d20b751d88a..1a2f1f31b10 100644
--- a/lisp/emacs-lisp/unsafep.el
+++ b/lisp/emacs-lisp/unsafep.el
@@ -92,11 +92,6 @@
in the parse.")
(put 'unsafep-vars 'risky-local-variable t)
-;;Side-effect-free functions from subr.el
-(dolist (x '(assoc-default butlast last match-string
- match-string-no-properties member-ignore-case remove remq))
- (put x 'side-effect-free t))
-
;;Other safe functions
(dolist (x '(;;Special forms
and catch if or prog1 prog2 progn while unwind-protect