tools/magit: magit-save-repository-buffers = nil
Autosaving our buffers can trigger unwanted side-effects, like save hooks and formatters, which is too magical. Instead, trust the user to know what they're doing.
This commit is contained in:
parent
ce4b8940ca
commit
72f97be86f
1 changed files with 5 additions and 1 deletions
|
@ -25,7 +25,11 @@ It is passed a user and repository name.")
|
||||||
:config
|
:config
|
||||||
(setq transient-default-level 5
|
(setq transient-default-level 5
|
||||||
magit-revision-show-gravatars '("^Author: " . "^Commit: ")
|
magit-revision-show-gravatars '("^Author: " . "^Commit: ")
|
||||||
magit-diff-refine-hunk t) ; show granular diffs in selected hunk
|
magit-diff-refine-hunk t ; show granular diffs in selected hunk
|
||||||
|
;; Don't autosave repo buffers. This is too magical, and saving can
|
||||||
|
;; trigger a bunch of unwanted side-effects, like save hooks and
|
||||||
|
;; formatters. Trust us to know what we're doing.
|
||||||
|
magit-save-repository-buffers nil)
|
||||||
|
|
||||||
;; Magit uses `magit-display-buffer-traditional' to display windows, by
|
;; Magit uses `magit-display-buffer-traditional' to display windows, by
|
||||||
;; default, which is a little primitive. `+magit-display-buffer' marries
|
;; default, which is a little primitive. `+magit-display-buffer' marries
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue