diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-07-01 15:34:59 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-07-01 15:34:59 +0200 |
| commit | d9d2f6c312019c6056c6b771c190bf72ab6feaa7 (patch) | |
| tree | fd0df3414812065f0f985e07aca73322441da8ae /lisp | |
| parent | 1f5f15558f8899dac082dbd82e8ff15f4b58efe7 (diff) | |
magit-after-save-refresh-status: Consult correct inhibit variable
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/magit-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/magit-mode.el b/lisp/magit-mode.el index 12d594c..ddca229 100644 --- a/lisp/magit-mode.el +++ b/lisp/magit-mode.el @@ -1213,7 +1213,7 @@ Note that refreshing a Magit buffer is done by re-creating its contents from scratch, which can be slow in large repositories. If you are not satisfied with Magit's performance, then you should obviously not add this function to that hook." - (when-let (((and (not magit--disable-save-buffers) + (when-let (((and (not magit-inhibit-refresh) (magit-inside-worktree-p t))) (buf (ignore-errors (magit-get-mode-buffer 'magit-status-mode)))) (cl-pushnew buf magit-after-save-refresh-buffers) |
