(require 'shell)
enables shell-dirtrack-mode
globally in every buffer. Is there a way to disable that behavior?
The only workaround that I have found is to call (shell-dirtrack-mode -1)
for each major mode that loads (e.g., via a major-mode hook); and, for fundamental-mode
, I created a new function that calls the same thing immediately after calling kill-all-local-variables
.
shell-dirtrack-mode
, be happy" -- I prefer that it not be there in the first instance. I am obsessive compulsive in that regard. One of the main reasons that I love Emacs and have invested so much time customizing it, is because almost everything is customizable -- I feel in control (colors / shapes / behavior / etc.). – lawlist Feb 16 '15 at 22:36