GNU bug report logs - #60787
setq-mode-local doesn't work for buffers not visiting files

Previous Next

Package: emacs;

Reported by: Sean Whitton <spwhitton <at> spwhitton.name>

Date: Fri, 13 Jan 2023 17:33:02 UTC

Severity: normal

Full log


Message #8 received at 60787 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Sean Whitton <spwhitton <at> spwhitton.name>
Cc: 60787 <at> debbugs.gnu.org
Subject: Re: bug#60787: setq-mode-local doesn't work for buffers not
 visiting files
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?




This bug report was last modified 2 years and 147 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.