org.el (org-uniquify): Use `copy-sequence'
* org.el (org-uniquify): Use `copy-sequence'. Thanks to Thomas Dye for reporting this.
This commit is contained in:
parent
41e313118d
commit
ef4bbe5608
|
@ -21592,7 +21592,7 @@ for the search purpose."
|
||||||
|
|
||||||
(defsubst org-uniquify (list)
|
(defsubst org-uniquify (list)
|
||||||
"Non-destructively remove duplicate elements from LIST."
|
"Non-destructively remove duplicate elements from LIST."
|
||||||
(let ((res (copy-seq list))) (delete-dups res)))
|
(let ((res (copy-sequence list))) (delete-dups res)))
|
||||||
|
|
||||||
(defun org-uniquify-alist (alist)
|
(defun org-uniquify-alist (alist)
|
||||||
"Merge elements of ALIST with the same key.
|
"Merge elements of ALIST with the same key.
|
||||||
|
|
Loading…
Reference in New Issue