emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 68fdbeb: cl-delete-duplicates: do not parse :if key


From: Tino Calancha
Subject: [Emacs-diffs] master 68fdbeb: cl-delete-duplicates: do not parse :if keyword
Date: Wed, 10 Aug 2016 13:38:50 +0000 (UTC)

branch: master
commit 68fdbeb917b80e29e0b15506f18f7ed41d8ffdfd
Author: Tino Calancha <address@hidden>
Commit: Tino Calancha <address@hidden>

    cl-delete-duplicates: do not parse :if keyword
    
    * lisp/emacs-lisp/cl-seq.el (cl--delete-duplicates):
    Parse only the supported keywords.
---
 lisp/emacs-lisp/cl-seq.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/cl-seq.el b/lisp/emacs-lisp/cl-seq.el
index 443a147..5c93670 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]