diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2024-03-31 16:12:45 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2024-04-01 09:42:46 +0200 |
commit | 155462a1bd7909074f79a534324c7b209eb97142 (patch) | |
tree | 33b41880e90e73592247d7aaf0c24906b249a629 /lisp/emacs-lisp/lisp.el | |
parent | 0f504dde3388687d1214182fa519354146947635 (diff) | |
download | emacs-155462a1bd7909074f79a534324c7b209eb97142.tar.gz emacs-155462a1bd7909074f79a534324c7b209eb97142.tar.bz2 emacs-155462a1bd7909074f79a534324c7b209eb97142.zip |
Fix mutates-arguments warning for `sort`
* lisp/emacs-lisp/bytecomp.el (bytecomp--sort-call-in-place-p)
(bytecomp--mutargs-nconc, bytecomp--mutargs-sort): New.
(byte-compile-form, bytecomp--actually-important-return-value-p)
(mutating-fns):
Use a slightly more extendible scheme for specifying what arguments
a function mutates. Give `sort` special treatment.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions