Declare more string predicates as pure
* lisp/emacs-lisp/byte-opt.el (pure-fns): Treat string>, string-greaterp, string-empty-p, string-blank-p, string-prefix-p and string-suffix-p as pure functions in the compiler.
This commit is contained in:
parent
a286e02580
commit
f8ab343eb9
1 changed files with 2 additions and 1 deletions
|
@ -1413,7 +1413,8 @@ Same format as `byte-optimize--lexvars', with shared structure and contents.")
|
|||
copysign isnan ldexp float logb
|
||||
floor ceiling round truncate
|
||||
ffloor fceiling fround ftruncate
|
||||
string= string-equal string< string-lessp
|
||||
string= string-equal string< string-lessp string> string-greaterp
|
||||
string-empty-p string-blank-p string-prefix-p string-suffix-p
|
||||
string-search
|
||||
consp atom listp nlistp proper-list-p
|
||||
sequencep arrayp vectorp stringp bool-vector-p hash-table-p
|
||||
|
|
Loading…
Add table
Reference in a new issue