From c2c2435e7bb3c474ce5d8a09bc42a6d1cc2fa548 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 23 Aug 2014 09:04:58 -0400 Subject: Make snakemake executable customizable --- snakemake-mode.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'snakemake-mode.el') diff --git a/snakemake-mode.el b/snakemake-mode.el index ca96570..62dcea7 100644 --- a/snakemake-mode.el +++ b/snakemake-mode.el @@ -67,6 +67,11 @@ :type 'integer :group 'snakemake) +(defcustom snakemake-executable "snakemake" + "Snakemake executable to use in compile command." + :group 'snakemake + :type 'string) + (defcustom snakemake-compile-command-options nil "Flags to add to default Snakemake compilation command." :group 'snakemake @@ -239,7 +244,7 @@ column of the first non-blank character." "Return Snakemake compile command. Flags are taken from `snakemake-compile-command-options'." (mapconcat 'identity - (cons "snakemake" snakemake-compile-command-options) + (cons snakemake-executable snakemake-compile-command-options) " ")) ;;;###autoload -- cgit v1.2.3