Tassilo Horn writes: > According to the last sentence, I'd assume that > > (setq my-alist nil) > (setf (alist-get 'foo my-alist) "foo-value") > > would return "foo-value", but infact it returns ((foo . "foo-value")). > As soon as there is an association for 'foo, it returns the new value, > i.e., "foo-value". I agree. I think fixing should be quite straightforward: