From d2261549195f8b8a984e3cbf8b3f9e489b6aa2f2 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 11 Jun 2016 22:12:44 -0400 Subject: snakemake-recompile-no-dryrun: Remove leading space --- lisp/km-snakemake.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/km-snakemake.el b/lisp/km-snakemake.el index 4b9c1fb..64c7221 100644 --- a/lisp/km-snakemake.el +++ b/lisp/km-snakemake.el @@ -34,7 +34,7 @@ (let ((command (car compilation-arguments))) (if (string-prefix-p snakemake-program command) (setf (car compilation-arguments) - (replace-regexp-in-string "--dryrun" "" command)) + (replace-regexp-in-string " --dryrun" "" command)) (user-error "Last compile was not with %s" snakemake-program))) (recompile))) -- cgit v1.2.3