diff options
| author | Mattias EngdegÄrd | 2023-02-23 14:04:55 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2023-02-24 16:53:32 +0100 |
| commit | 1defa5000b1881817c515d7979661fbdc6fc0968 (patch) | |
| tree | b1c6def7d5bb617203540a501a43413a89d8aa99 /java/org/gnu | |
| parent | 1bed13111be2954e418f3cf43f30944ea5b82055 (diff) | |
| download | emacs-1defa5000b1881817c515d7979661fbdc6fc0968.tar.gz emacs-1defa5000b1881817c515d7979661fbdc6fc0968.zip | |
Follow function aliases for `side-effect-free` and `pure` properties
This way we don't need to set these properties on aliases at all;
it was always easy to forget doing so.
* lisp/emacs-lisp/byte-opt.el (byte-opt--fget): New function.
(byte-optimize-form-code-walker, byte-optimize-form): Use it.
(side-effect-free-fns, side-effect-and-error-free-fns, pure-fns):
Remove aliases from lists, leaving only built-in functions.
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions