I am experiencing behavior using setcdr that would seem to suggest that it is not confined to buffer-local variables containing the same name in different buffers. I have tried using with-current-buffer, but that does not correct the issue.
For example, buffer-A and buffer-B both contain a local-variable named variable-one, which is a cons cell -- e.g., (overlay-string t), and setcdr is being used to set the cdr value to either t or nil.
Is there a way to ensure that setcdr remains confined to modifying only the buffer-local value?