summaryrefslogtreecommitdiff
path: root/snakemake.el
diff options
context:
space:
mode:
Diffstat (limited to 'snakemake.el')
-rw-r--r--snakemake.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/snakemake.el b/snakemake.el
index c3f5ec4..20ec2cd 100644
--- a/snakemake.el
+++ b/snakemake.el
@@ -299,7 +299,7 @@ currently limited to a single-item list."
(save-excursion
(end-of-line)
(re-search-backward snakemake-rule-or-subworkflow-re)
- (let ((rule (and (equal (match-string-no-properties 1) "rule")
+ (let ((rule (and (string= (match-string-no-properties 1) "rule")
(match-string-no-properties 2))))
(and (or (not targets-only) (snakemake-check-target rule))
(list rule))))))