Skip to content

Commit 1918f3e

Browse files
Affonso-Guiknorth55
authored andcommitted
(roseus_smach) Adapt to updated assoc key (see EusLisp/436)
1 parent 4564c0d commit 1918f3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roseus_smach/src/state-machine.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
;; state-machine.l
22

33
;; manipulate a list of cons as a associative array
4-
(defun set-alist (k v alist &key (key 'car) (test 'eq))
4+
(defun set-alist (k v alist &key (key) (test 'eq))
55
(let ((cur-cons (assoc k alist :key key :test test)))
66
(if cur-cons
77
(progn (setf (cdr cur-cons) v) alist)

0 commit comments

Comments
 (0)