summaryrefslogtreecommitdiff
path: root/snakemake.el
diff options
context:
space:
mode:
Diffstat (limited to 'snakemake.el')
-rw-r--r--snakemake.el11
1 files changed, 5 insertions, 6 deletions
diff --git a/snakemake.el b/snakemake.el
index 86cb88e..35f8930 100644
--- a/snakemake.el
+++ b/snakemake.el
@@ -566,12 +566,11 @@ Snakemake-graph mode is a minor mode that provides a key,
$ snakemake [ARGS] -- <targets>"
(interactive (list (snakemake-arguments)))
- (let ((default-directory (snakemake-snakefile-directory)))
- (snakemake-compile-targets
- (or (snakemake-file-targets-at-point 'check)
- (snakemake-rule-at-point 'target)
- (user-error "No target found at point"))
- args)))
+ (snakemake-compile-targets
+ (or (snakemake-file-targets-at-point 'check)
+ (snakemake-rule-at-point 'target)
+ (user-error "No target found at point"))
+ args))
;;;###autoload
(defun snakemake-build-file-target (&optional args)