1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-07 06:50:23 -08:00
emacs/test/lisp/emacs-lisp
Basil L. Contovounesios ac143186c0 Document cl-n... set operations consistently
The docstrings of cl-nintersection and cl-nset-difference have been
inconsistent with their manual entries since the beginning of
emacs.git history (bug#76017).  This patch settles on the weaker and
thus backward-compatible requirement that only their first argument
be safe to mutate.

* lisp/emacs-lisp/bytecomp.el: Include only first argument in
mutates-arguments property.
* lisp/emacs-lisp/cl-seq.el (cl-nintersection, cl-nset-difference):
Make docstring consistent with manual in that the second argument is
not modified.
* test/lisp/emacs-lisp/cl-seq-tests.el (cl-nintersection-test)
(cl-nset-difference-test): Simplify.
(cl-nset-difference): Pass fresh list as second argument, otherwise
destructive modifications to it could go undetected.
2025-02-14 15:42:52 +01:00
..
bytecomp-resources Single string literal in body is return value only, not doc string 2024-03-07 13:47:53 +01:00
edebug-resources Update copyright year to 2025 2025-01-01 07:39:17 +00:00
eieio-tests Update copyright year to 2025 2025-01-01 07:39:17 +00:00
ert-font-lock-resources Improve ert-font-lock assertion parser (Bug#69714) 2024-03-28 11:40:27 +02:00
faceup-resources Update copyright year to 2025 2025-01-01 07:39:17 +00:00
faceup-tests Update copyright year to 2025 2025-01-01 07:39:17 +00:00
macroexp-resources Update copyright year to 2025 2025-01-01 07:39:17 +00:00
package-resources Update copyright year to 2025 2025-01-01 07:39:17 +00:00
pp-resources Fix pp-emacs-lisp-code printing of cons cells 2022-05-17 19:45:20 +02:00
shadow-resources
testcover-resources Update copyright year to 2025 2025-01-01 07:39:17 +00:00
backquote-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
backtrace-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
benchmark-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
bindat-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
byte-run-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
bytecomp-tests.el Port dest-mountpoint test to suspicious bwrap 2025-01-31 15:01:34 -08:00
cconv-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
check-declare-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
checkdoc-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
cl-extra-tests.el Consolidate some cl-lib tests 2025-02-14 15:42:52 +01:00
cl-generic-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
cl-lib-tests.el Consolidate some cl-lib tests 2025-02-14 15:42:52 +01:00
cl-macs-tests.el Consolidate some cl-lib tests 2025-02-14 15:42:52 +01:00
cl-preloaded-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
cl-print-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
cl-seq-tests.el Document cl-n... set operations consistently 2025-02-14 15:42:52 +01:00
comp-cstr-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
comp-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
cond-star-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
copyright-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
derived-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
easy-mmode-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
edebug-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
ert-font-lock-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
ert-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
ert-x-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
find-func-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
float-sup-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
generator-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
gv-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
hierarchy-tests.el ; hierarchy-tests.el: keep doc string within 80 columns 2024-01-31 17:55:53 +01:00
icons-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
let-alist-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
lisp-mnt-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
lisp-mode-tests.el Rename a recently-added variable (bug#56197) 2025-02-01 12:22:13 +02:00
lisp-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
macroexp-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
map-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
memory-report-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
multisession-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
nadvice-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
oclosure-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
package-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
pcase-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
pp-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
range-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
regexp-opt-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
ring-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
rmc-tests.el Use read-key in read-multiple-choice (bug#75886) 2025-02-04 15:38:02 +01:00
rx-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
seq-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
shadow-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
shortdoc-tests.el Delete redundant lambdas around unary functions 2025-02-11 19:04:00 +01:00
subr-x-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
syntax-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
tabulated-list-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
testcover-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
text-property-search-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
thunk-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
timer-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
track-changes-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
unsafep-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
vtable-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
warnings-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00