@@ -206,8 +206,7 @@ The regexp specified here, must match the format specified by
206206With prefix argument NOCOMMIT, do not create a commit."
207207 (interactive (list (sisyphus--read-version)))
208208 (magit-with-toplevel
209- (let ((magit-inhibit-refresh t )
210- (magit--disable-save-buffers t ))
209+ (let ((magit-inhibit-refresh t ))
211210 (sisyphus--bump-changelog version)
212211 (sisyphus--bump-version version))
213212 (if nocommit
@@ -228,8 +227,7 @@ With prefix argument NOCOMMIT, do not create a commit."
228227 'sisyphus-non-release-suffix
229228 sisyphus-non-release-suffix))
230229 (magit-with-toplevel
231- (let ((magit-inhibit-refresh t )
232- (magit--disable-save-buffers t ))
230+ (let ((magit-inhibit-refresh t ))
233231 (sisyphus--bump-changelog version t )
234232 (sisyphus--bump-version (sisyphus--previous-version) t ))
235233 (if nocommit
@@ -242,8 +240,7 @@ With prefix argument NOCOMMIT, do not create a commit."
242240With prefix argument NOCOMMIT, do not create a commit."
243241 (interactive " P" )
244242 (magit-with-toplevel
245- (let ((magit-inhibit-refresh t )
246- (magit--disable-save-buffers t ))
243+ (let ((magit-inhibit-refresh t ))
247244 (sisyphus--bump-copyright))
248245 (if nocommit
249246 (magit-refresh)
@@ -460,6 +457,7 @@ With prefix argument NOCOMMIT, do not create a commit."
460457 (copyright-update ))))
461458
462459(defun sisyphus--commit (msg &optional allow-empty no-edit )
460+ (setq magit--disable-save-buffers t )
463461 (let ((magit-inhibit-refresh t ))
464462 (magit-stage-1 " -u" ))
465463 (magit-commit-create
0 commit comments