mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-10 08:10:21 -08:00
Fix cl-defun keyword arg parsing. Please bootstrap.
This commit is contained in:
parent
3768a86998
commit
c6b0fbe7db
4 changed files with 20 additions and 1 deletions
|
|
@ -503,7 +503,8 @@ 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 `(memq ',karg ,restarg)))
|
||||
(look `(cl-loop for cl--arg on ,restarg by #'cddr
|
||||
when (eq (car cl--arg) ',karg) return cl--arg)))
|
||||
(and def cl--bind-enquote (setq def `',def))
|
||||
(if (cddr arg)
|
||||
(let* ((temp (or (nth 2 arg) (make-symbol "--cl-var--")))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue