From 0147ebc2826bca3dd042893507f6e65d5fc0a722 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 26 Mar 2017 19:06:46 -0400 Subject: Modify sections in preparation for a terminal interface --- snakemake.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'snakemake.el') 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. -- cgit v1.2.3