Subject: Re: bug#77306: 31.0.50; C-x v L from *vc-change-log* buffer leaves wrong default-directory

From: Stefan Monnier <[email-masked]>
Date: Thu, 03 Apr 2025 12:52:51 -0400

>     Dmitry> Yeah, I don't have a better suggestion.
> Doe `setq-local' not adjust the buffer-local value? What am I missing?

It does, but the `let` is also currently affecting just that
buffer-local value.  IOW, it's a `setq-local` within a `let-local`,
which thus behaves just like a normal `setq` within a normal `let`: the
effect of the `setq` disappears when we exit the `let`.