summaryrefslogtreecommitdiff
path: root/snakemake-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'snakemake-mode.el')
-rw-r--r--snakemake-mode.el7
1 files changed, 6 insertions, 1 deletions
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