Subject: Re: bug#60787: setq-mode-local doesn't work for buffers not visiting files

From: Juri Linkov <[email-masked]>
Date: Tue, 17 Jan 2023 09:31:51 +0200

>   (setq-mode-local diff-mode view-read-only nil)
>
> doesn't affect *vc-diff* buffers, but it should, according to the docstring of
> setq-mode-local.

Is this because of the condition `(buffer-file-name b)`
in mode-local-map-file-buffers?