mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
; 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)
This commit is contained in:
parent
f081afe23d
commit
1652e36c6c
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Reference in a new issue