Do not refresh non-selected magit status buffers on Windows
This setting is experimental and a test whether performance on Windows can be increased this way without causing too much confusion.
This commit is contained in:
parent
b5f03ddf96
commit
7fb9b84449
12
init.el
12
init.el
|
@ -1532,8 +1532,16 @@ point to the beginning of buffer first."
|
|||
:ensure t
|
||||
:commands (magit-status
|
||||
magit-list-repositories)
|
||||
:init (setq magit-diff-refine-hunk nil
|
||||
magit-commit-show-diff nil)
|
||||
|
||||
:init (progn
|
||||
(setq magit-diff-refine-hunk nil
|
||||
magit-commit-show-diff nil)
|
||||
|
||||
(when on-windows
|
||||
;; Experimental: on Windows, do not refresh magit-status-buffers
|
||||
;; that are not select, to increase performance.
|
||||
(setq magit-refresh-status-buffer nil)))
|
||||
|
||||
:config (progn
|
||||
(when (fboundp 'global-magit-file-mode)
|
||||
(global-magit-file-mode -1))
|
||||
|
|
Loading…
Reference in New Issue