diff options
author | Tak Kunihiro <tkk@misasa.okayama-u.ac.jp> | 2021-10-05 09:11:33 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-10-05 09:11:33 +0200 |
commit | b431f54c1b01675ba36513474e14b206e26fd6fa (patch) | |
tree | 75999be412bac5f59c6aa65b1ab72bf382493159 /lisp/subr.el | |
parent | 0a7bab689c4a113dd295c9db55d8e76a34d5f9e1 (diff) | |
download | emacs-b431f54c1b01675ba36513474e14b206e26fd6fa.tar.gz emacs-b431f54c1b01675ba36513474e14b206e26fd6fa.tar.bz2 emacs-b431f54c1b01675ba36513474e14b206e26fd6fa.zip |
Mention `seq-uniq' in `delete-dups' documentation
* doc/lispref/lists.texi (Sets And Lists): Mention `seq-uniq'
(bug#50928).
* lisp/subr.el (delete-dups): Link to `seq-uniq' in doc string.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r-- | lisp/subr.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index a8fb52c9098..f8f446c6a92 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -696,7 +696,7 @@ If N is omitted or nil, remove the last element." "Destructively remove `equal' duplicates from LIST. Store the result in LIST and return it. LIST must be a proper list. Of several `equal' occurrences of an element in LIST, the first -one is kept." +one is kept. See `seq-uniq' for non-destructive operation." (let ((l (length list))) (if (> l 100) (let ((hash (make-hash-table :test #'equal :size l)) |