[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/flymake-clippy 66247bdd45 14/16: If cargo not found, lo
From: |
ELPA Syncer |
Subject: |
[elpa] externals/flymake-clippy 66247bdd45 14/16: If cargo not found, log and fail gracefully rather than erroring |
Date: |
Sat, 22 Mar 2025 09:58:41 -0400 (EDT) |
branch: externals/flymake-clippy
commit 66247bdd4570c1d81c3fed7c615c3ac4aeccf458
Author: Michael Kirkland <mak.kirkland@proton.me>
Commit: Michael Kirkland <mak.kirkland@proton.me>
If cargo not found, log and fail gracefully rather than erroring
---
flymake-clippy.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/flymake-clippy.el b/flymake-clippy.el
index 3f879360a8..637d20eb81 100644
--- a/flymake-clippy.el
+++ b/flymake-clippy.el
@@ -61,7 +61,8 @@ for Rust linting in the current buffer."
For details on REPORT-FN, see `flymake-diagnostic-functions'."
(unless (executable-find flymake-clippy-cargo-path)
- (error "Cannot find Cargo at `%s`" flymake-clippy-cargo-path))
+ (flymake-log :error "Cannot find Cargo at `%s`" flymake-clippy-cargo-path)
+ (cl-return-from flymake-clippy-backend))
;; If process is still running from the last check, kill it
(when (process-live-p flymake-clippy--proc)
(kill-process flymake-clippy--proc))
- [elpa] branch externals/flymake-clippy created (now e634763a84), ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy ea2ed74df5 02/16: Flymake backend for displaying Rust lint diagnostics from Clippy, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 263f24abe8 07/16: Minor code style changes, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy e256251df4 09/16: Update README.md, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 90a11927ae 11/16: Rename clippy-flymake to flymake-clippy, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 907520f340 15/16: Remove unused binding, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 32672bb8f4 13/16: Fix minor typos in docstrings, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 72609e0d1f 12/16: Explicity require json library, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 66247bdd45 14/16: If cargo not found, log and fail gracefully rather than erroring,
ELPA Syncer <=
- [elpa] externals/flymake-clippy e634763a84 16/16: Include URL in header, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy c518825c48 03/16: Create README.md, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 94d297a5ed 08/16: Introduce `clippy-flymake-cargo-path' as a custom user option, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 24e5c13ae9 01/16: Initial commit, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 0f0f720daa 04/16: Update documentation, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy bb2fbe0971 10/16: Update README.md, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 2ff39165ac 06/16: Fallback message level to :note, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy d4602a6a71 05/16: Hide the Clippy process buffer from `C-x b', ELPA Syncer, 2025/03/22