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 ce07712..47df68d 100644
--- a/snakemake.el
+++ b/snakemake.el
@@ -329,7 +329,7 @@ This function returns a list for consistency with other
target-returning functions, but any non-nil return value is
currently limited to a single-item list."
(when (and (derived-mode-p 'snakemake-mode)
- (snakemake-in-rule-or-subworkflow-block-p))
+ (snakemake-block-bounds))
(save-excursion
(end-of-line)
(re-search-backward snakemake-rule-or-subworkflow-re)