reddit / emacs

`Symbol’s function definition is void: \(setf\ match-string\)`while using `push`

[deleted] · 2022-12-20 21:14
[deleted]
Alan_Shutko · 2022-12-20 21:19
The first argument for `push` is the element, the second argument is the place you want to put it. I think you have the order wrong, and it should be (push (match-string 0) commands)
[deleted] · 2022-12-20 21:22
[deleted]
ieure · 2022-12-21 02:24
Also worth noting: OP has written self-modifying code, by let-binding empty lists which will get mutated. And that `(if (not` should be an `(unless`.