diff options
Diffstat (limited to 'snakemake.el')
-rw-r--r-- | snakemake.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/snakemake.el b/snakemake.el index 398b8ef..ed8e486 100644 --- a/snakemake.el +++ b/snakemake.el @@ -543,17 +543,17 @@ Snakemake-graph mode is a minor mode that provides a key, ;;; Compilation commands +(defun snakemake--make-command (targets args) + (mapconcat #'identity + `(,snakemake-program ,@args "--" ,@targets) + " ")) + (add-to-list 'compilation-error-regexp-alist 'snakemake) (add-to-list 'compilation-error-regexp-alist-alist '(snakemake . ("^SyntaxError in line \\([0-9]+\\) of \\(.*[^A-z]Snakefile\\):$" 2 1))) -(defun snakemake--make-command (targets args) - (mapconcat #'identity - `(,snakemake-program ,@args "--" ,@targets) - " ")) - (defun snakemake-compile-targets (targets args) "Run non-interactive `compile' with 'snakemake [ARGS] -- TARGETS'." (let ((default-directory (snakemake-snakefile-directory)) |