From 6fac8a28da9bf30da71941340505c2316d0db5a3 Mon Sep 17 00:00:00 2001 From: John Turner Date: Fri, 7 Oct 2022 03:10:21 -0400 Subject: changed the config-* prefix to init-* for all of the init files --- config/flycheck/config-flycheck-cargo-has-command-p-fix.el | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 config/flycheck/config-flycheck-cargo-has-command-p-fix.el (limited to 'config/flycheck/config-flycheck-cargo-has-command-p-fix.el') diff --git a/config/flycheck/config-flycheck-cargo-has-command-p-fix.el b/config/flycheck/config-flycheck-cargo-has-command-p-fix.el deleted file mode 100644 index 1135165..0000000 --- a/config/flycheck/config-flycheck-cargo-has-command-p-fix.el +++ /dev/null @@ -1,7 +0,0 @@ -(defun config-flycheck-rust-cargo-has-command-p (command) - (let* ((commands (process-lines "cargo" "--list")) - (trimmed (-map (lambda (row) (-slice row 4 (string-search " " 4))) commands))) - (seq-contains-p (-rest trimmed) command))) - -(advice-add 'flycheck-rust-cargo-has-command-p - :override 'config-flycheck-rust-cargo-has-command-p) -- cgit v1.2.3