Skip to content

Commit

Permalink
(roseus_smach) Adapt to updated assoc key (see EusLisp/436)
Browse files Browse the repository at this point in the history
  • Loading branch information
Affonso-Gui authored and knorth55 committed Sep 12, 2022
1 parent 4564c0d commit 1918f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roseus_smach/src/state-machine.l
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
;; state-machine.l

;; manipulate a list of cons as a associative array
(defun set-alist (k v alist &key (key 'car) (test 'eq))
(defun set-alist (k v alist &key (key) (test 'eq))
(let ((cur-cons (assoc k alist :key key :test test)))
(if cur-cons
(progn (setf (cdr cur-cons) v) alist)
Expand Down

0 comments on commit 1918f3e

Please sign in to comment.