diff options
| author | Yutian Li <hotpxless@gmail.com> | 2016-07-21 01:02:00 +0800 |
|---|---|---|
| committer | Yutian Li <hotpxless@gmail.com> | 2016-07-21 01:02:00 +0800 |
| commit | cffb950f2063184c23512c7b9305e3244e2cb47c (patch) | |
| tree | 7a882bba56a3d092cfdfb384faf6aef4f362694d /rust-mode.el | |
| parent | 68863001d75f103f6ffb5d0cc834ed63b7380c6d (diff) | |
| download | rust-mode-cffb950f2063184c23512c7b9305e3244e2cb47c.tar.gz | |
[master] Remove redundant progn.
Diffstat (limited to 'rust-mode.el')
| -rw-r--r-- | rust-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el index 26cce7e..4185f3f 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -1260,7 +1260,7 @@ This is written mainly to be used as `end-of-defun-function' for Rust." (if (zerop (call-process-region (point-min) (point-max) rust-rustfmt-bin t t nil)) (progn (if (not (string= (buffer-string) (with-current-buffer buf (buffer-string)))) - (progn (copy-to-buffer buf (point-min) (point-max)))) + (copy-to-buffer buf (point-min) (point-max))) (kill-buffer)) (error "Rustfmt failed, see *rustfmt* buffer for details")))) |
