(defsetf): Accept a lambda for the 2-arg form.
This commit is contained in:
parent
882e82db4d
commit
cb7d9531e7
2 changed files with 3 additions and 1 deletions
|
@ -1619,7 +1619,7 @@ Example:
|
|||
(defsetf nth (n x) (v) (list 'setcar (list 'nthcdr n x) v))
|
||||
|
||||
\(fn NAME [FUNC | ARGLIST (STORE) BODY...])"
|
||||
(if (listp arg1)
|
||||
(if (and (listp arg1) (consp args))
|
||||
(let* ((largs nil) (largsr nil)
|
||||
(temps nil) (tempsr nil)
|
||||
(restarg nil) (rest-temps nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue