branch: externals/relint
commit 95b3c07e57b8a5cd5e01535cef5fa055c3c78ca9
Author: Mattias Engdegård <[email protected]>
Commit: Mattias Engdegård <[email protected]>

    Add `xor' and bitwise operations to the list of safe functions
---
 relint.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/relint.el b/relint.el
index 2886e00..78b9773 100644
--- a/relint.el
+++ b/relint.el
@@ -339,7 +339,7 @@ list of list indices to follow to target)."
     substring
     length safe-length
     symbol-name
-    null not
+    null not xor
     eq eql equal
     string-equal string= string< string-lessp string> string-greaterp
     char-equal string-match-p
@@ -363,7 +363,8 @@ list of list indices to follow to target)."
     consp atom stringp symbolp listp nlistp booleanp
     integerp numberp natnump fixnump bignump characterp zerop
     sequencep vectorp arrayp
-    + - * / % mod 1+ 1- max min < <= = > >= /= abs)
+    + - * / % mod 1+ 1- max min < <= = > >= /= abs
+    ash lsh logand logior logxor)
   "Functions that are safe to call during evaluation.
 Except for altering the match state, these are side-effect-free
 and reasonably pure (some depend on variables in fairly uninteresting ways,

Reply via email to