summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--snakemake.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/snakemake.el b/snakemake.el
index ed8e486..2a860b2 100644
--- a/snakemake.el
+++ b/snakemake.el
@@ -541,13 +541,15 @@ Snakemake-graph mode is a minor mode that provides a key,
:keymap snakemake-graph-mode-map)
-;;; Compilation commands
+;;; Commands for calling Snakemake
(defun snakemake--make-command (targets args)
(mapconcat #'identity
`(,snakemake-program ,@args "--" ,@targets)
" "))
+;;;; Compilation interface
+
(add-to-list 'compilation-error-regexp-alist 'snakemake)
(add-to-list
'compilation-error-regexp-alist-alist
@@ -561,6 +563,8 @@ Snakemake-graph mode is a minor mode that provides a key,
(compile cmd)
(push cmd compile-history)))
+;;;; General interface
+
;;;###autoload
(defun snakemake-build-targets-at-point (&optional args)
"Build target(s) at point without any prompts.