diff --git a/rustic-clippy.el b/rustic-clippy.el index 2dbb6b54..182e49a9 100644 --- a/rustic-clippy.el +++ b/rustic-clippy.el @@ -92,7 +92,9 @@ When calling this function from `rustic-popup-mode', always use the value of (defun rustic-cargo-clippy-rerun () "Run 'cargo clippy' with `rustic-clippy-arguments'." (interactive) - (rustic-cargo-clippy-run rustic-clippy-arguments)) + (rustic-cargo-clippy-run :params (if (> (length rustic-clippy-arguments) 0) + rustic-clippy-arguments + rustic-default-clippy-arguments))) (defun rustic-cargo-clippy-fix (&rest args) "Run 'clippy fix'."