summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTino Calancha <tino.calancha@gmail.com>2016-08-10 22:34:21 +0900
committerTino Calancha <tino.calancha@gmail.com>2016-08-10 22:34:21 +0900
commit68fdbeb917b80e29e0b15506f18f7ed41d8ffdfd (patch)
tree7d5b79a3a1cd4d6d71da22bc0da573678f18b15a
parentc2664aaab68759ebd8cfb615c1f2fd73f065caa7 (diff)
downloademacs-68fdbeb917b80e29e0b15506f18f7ed41d8ffdfd.tar.gz
cl-delete-duplicates: do not parse :if keyword
* lisp/emacs-lisp/cl-seq.el (cl--delete-duplicates): Parse only the supported keywords.
-rw-r--r--lisp/emacs-lisp/cl-seq.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cl-seq.el b/lisp/emacs-lisp/cl-seq.el
index 443a147b3d2..5c93670be92 100644
--- a/lisp/emacs-lisp/cl-seq.el
+++ b/lisp/emacs-lisp/cl-seq.el
@@ -347,7 +347,7 @@ This is a destructive function; it reuses the storage of SEQ whenever possible.
(defun cl--delete-duplicates (cl-seq cl-keys cl-copy)
(if (listp cl-seq)
(cl--parsing-keywords
- (:test :test-not :key (:start 0) :end :from-end :if)
+ (:test :test-not :key (:start 0) :end :from-end)
()
(if cl-from-end
(let ((cl-p (nthcdr cl-start cl-seq)) cl-i)