Commit 1edb4a2e authored by Daniel Colascione's avatar Daniel Colascione
Browse files

Improve performance of &key parsing

parent 8becfd22
2014-03-24 Daniel Colascione <>
* emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
instead of cl-loop search function.
2014-03-23 Lars Ingebrigtsen <>
* calendar/parse-time.el (parse-time-iso8601-regexp)
......@@ -503,8 +503,7 @@ its argument list allows full Common Lisp conventions."
(varg (if (consp (car arg)) (cl-cadar arg) (car arg)))
(def (if (cdr arg) (cadr arg)
(or (car cl--bind-defs) (cadr (assq varg cl--bind-defs)))))
(look `(cl-loop for cl--arg on ,restarg by #'cddr
when (eq (car cl--arg) ',karg) return cl--arg)))
(look `(plist-member ,restarg ',karg)))
(and def cl--bind-enquote (setq def `',def))
(if (cddr arg)
(let* ((temp (or (nth 2 arg) (make-symbol "--cl-var--")))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment