emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/relint 95b3c07 08/23: Add `xor' and bitwise operations


From: Mattias Engdegård
Subject: [elpa] externals/relint 95b3c07 08/23: Add `xor' and bitwise operations to the list of safe functions
Date: Sun, 29 Sep 2019 15:34:52 -0400 (EDT)

branch: externals/relint
commit 95b3c07e57b8a5cd5e01535cef5fa055c3c78ca9
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>

    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

[Prev in Thread] Current Thread [Next in Thread]