branch: elpa/rust-mode
commit 839bf7b1e1e335c8ba8f04b247eb84076be0c50a
Merge: c6f2e8a800 1a370a4f2a
Author: brotzeit <brotzeitmac...@gmail.com>
Commit: GitHub <nore...@github.com>

    Merge pull request #476 from imichael2e2/master
    
    Fix the issue #475
---
 rust-rustfmt.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust-rustfmt.el b/rust-rustfmt.el
index bb8864728c..9e53fe590c 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))))

Reply via email to