diff options
Diffstat (limited to 'rust-rustfmt.el')
| -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)))) |
