[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/rust-mode 0431b10d25 4/4: Merge pull request #481 from imi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/rust-mode 0431b10d25 4/4: Merge pull request #481 from imichael2e2/master |
Date: |
Sun, 25 Dec 2022 17:59:33 -0500 (EST) |
branch: elpa/rust-mode
commit 0431b10d2520918f3f250fdf4dc96e8d2eb7ea76
Merge: 1398c0b2b2 891371df52
Author: brotzeit <brotzeitmacher@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #481 from imichael2e2/master
Refine the error message displaying
---
rust-rustfmt.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/rust-rustfmt.el b/rust-rustfmt.el
index de618cb9a9..f609980382 100644
--- a/rust-rustfmt.el
+++ b/rust-rustfmt.el
@@ -152,7 +152,8 @@ rustfmt complain in the echo area."
(goto-char (point-min))
(forward-line (1- (car target-point)))
(forward-char (1- (cdr target-point))))
- (message target-problem)))))
+ (unless rust-format-show-buffer
+ (message target-problem))))))
(defconst rust--format-word "\
\\b\\(else\\|enum\\|fn\\|for\\|if\\|let\\|loop\\|\