diff options
| author | brotzeit <brotzeitmacher@gmail.com> | 2022-12-18 18:04:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-18 18:04:30 +0100 |
| commit | 839bf7b1e1e335c8ba8f04b247eb84076be0c50a (patch) | |
| tree | 6467f55fd548cfebbcb3df118332de1495ae4f45 | |
| parent | c6f2e8a800992b65d194590b72e3d4d135cba0aa (diff) | |
| parent | 1a370a4f2a45f46505d8215176d1da43308c50bf (diff) | |
| download | rust-mode-839bf7b1e1e335c8ba8f04b247eb84076be0c50a.tar.gz | |
Merge pull request #476 from imichael2e2/master
Fix the issue #475
| -rw-r--r-- | rust-rustfmt.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-rustfmt.el b/rust-rustfmt.el index bb88647..9e53fe5 100644 --- a/rust-rustfmt.el +++ b/rust-rustfmt.el @@ -67,7 +67,7 @@ (with-current-buffer buf (replace-buffer-contents rust-rustfmt-buffername)) (copy-to-buffer buf (point-min) (point-max)))) - (kill-buffer)) + (kill-buffer-and-window)) ((= ret 3) (if (not (string= (buffer-string) (with-current-buffer buf (buffer-string)))) |
