diff options
| author | Mattias EngdegÄrd | 2023-02-26 16:56:24 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2023-02-27 14:34:22 +0100 |
| commit | 1767d18c91a3c823d6ab6d69b2666fc5bc2f7d22 (patch) | |
| tree | 93516d1da4a0caba4eee35232fbe792abca2ce42 /java | |
| parent | 443c249d85003639512d8d3b6ace184a9ff53bc2 (diff) | |
| download | emacs-1767d18c91a3c823d6ab6d69b2666fc5bc2f7d22.tar.gz emacs-1767d18c91a3c823d6ab6d69b2666fc5bc2f7d22.zip | |
Adjust some `pure` and `side-effect-free` function declarations
* lisp/emacs-lisp/byte-opt.el (side-effect-free-fns):
Add `format-message` and `substring-no-properties`.
* lisp/subr.el (number-sequence, copy-tree, looking-at-p)
(string-match-p, string-trim-right, string-lines):
Declare side-effect-free.
(syntax-class, version-list-<, version-list-=, version-list-<=)
(version-list-not-zero): Declare pure and side-effect-free.
(ensure-list): Declare side-effect-free and error-free.
(string-equal-ignore-case): Remove `pure` declaration.
We may want it to be pure but right now it's not.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions