From 1652e36c6c303f2934f6b03fd5b37088dac3d6e2 Mon Sep 17 00:00:00 2001 From: Jens Schmidt Date: Sun, 25 Jan 2026 13:57:21 +0100 Subject: [PATCH] ; Fix documentaion of 'seq-intersection' * doc/lispref/sequences.texi (Sequence Functions): * lisp/emacs-lisp/seq.el (seq-intersection): Fix documentaion of 'seq-intersection'. (Bug#80257) --- doc/lispref/sequences.texi | 6 +++--- lisp/emacs-lisp/seq.el | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi index 4de739aa915..853b577c910 100644 --- a/doc/lispref/sequences.texi +++ b/doc/lispref/sequences.texi @@ -1110,9 +1110,9 @@ instead of the default @code{equal}. @cindex sequences, intersection of @cindex intersection of sequences This function returns a copy of @var{sequence1} from which the -elements that appear in @var{sequence2} where removed. If the optional -argument @var{function} is non-@code{nil}, it is a function of two -arguments to use to compare elements instead of the default +elements that do not appear in @var{sequence2} were removed. If the +optional argument @var{function} is non-@code{nil}, it is a function of +two arguments to use to compare elements instead of the default @code{equal}. @example diff --git a/lisp/emacs-lisp/seq.el b/lisp/emacs-lisp/seq.el index 4963624ee2d..881fae951b6 100644 --- a/lisp/emacs-lisp/seq.el +++ b/lisp/emacs-lisp/seq.el @@ -567,7 +567,7 @@ This does not modify SEQUENCE1 or SEQUENCE2." ;;;###autoload (cl-defgeneric seq-intersection (sequence1 sequence2 &optional testfn) - "Return copy of SEQUENCE1 with elements that appear in SEQUENCE2 removed. + "Return copy of SEQUENCE1 with elements that do not appear in SEQUENCE2 removed. \"Equality\" of elements is defined by the function TESTFN, which defaults to `equal'. This does not modify SEQUENCE1 or SEQUENCE2."