summaryrefslogtreecommitdiff
path: root/snakemake.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-05-11 01:37:25 -0400
committerKyle Meyer <kyle@kyleam.com>2016-05-11 01:39:04 -0400
commit97b008e65f0402388cfacd32aee3b4dd4fbaf2ff (patch)
tree6f39a0512ffa6f658e51a8c32a8fcf173df83e0a /snakemake.el
parentc4c05088e98179ab1ff5e90155b297fd2be9a087 (diff)
downloadsnakemake-mode-97b008e65f0402388cfacd32aee3b4dd4fbaf2ff.tar.gz
Add snakemake-block-bounds function
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)