Subject: bug#64311: [PATCH] Fix shell-dirtrack-mode showing up as enabled in unrelated buffers

From: Eli Zaretskii <[email-masked]>
Date: Thu, 29 Jun 2023 07:57:20 +0300

> From: Vladimir Sedach <[email-masked]>
> Cc: [email-masked]
> Date: Wed, 28 Jun 2023 14:14:44 -0600
> 
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > So what exactly is the problem now?  You said:
> >
> >> The problem is shell-dirtrackp and its default value.
> >
> > But if this is buffer-local, then why is it a problem that it's
> > non-nil?
> 
> Since shell-dirtrackp is aliased to shell-dirtrack-mode, the default
> value of shell-dirtrack-mode gets set to t.
> 
> So shell-dirtrack-mode is t in every buffer.

So making the default value nil will solve the problem?