projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2664aa
)
cl-delete-duplicates: do not parse :if keyword
author
Tino Calancha
<tino.calancha@gmail.com>
Wed, 10 Aug 2016 13:34:21 +0000
(22:34 +0900)
committer
Tino Calancha
<tino.calancha@gmail.com>
Wed, 10 Aug 2016 13:34:21 +0000
(22:34 +0900)
* lisp/emacs-lisp/cl-seq.el (cl--delete-duplicates):
Parse only the supported keywords.
lisp/emacs-lisp/cl-seq.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/cl-seq.el
b/lisp/emacs-lisp/cl-seq.el
index 443a147b3d223badf4ef406670df77cb3eda70d9..5c93670be92f66d61f053fb2066680dbae31497f 100644
(file)
--- 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)