summaryrefslogtreecommitdiff
path: root/snakemake.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-09-01 20:35:16 -0400
committerKyle Meyer <kyle@kyleam.com>2016-09-01 20:39:09 -0400
commit8886280685b63983be8101d98cf9dc6b203d4eac (patch)
tree0ee9bc50858304af685bdc55790d8169bfedba0d /snakemake.el
parenta59b453b0abcf3642a29fb855e70e626e8a6209d (diff)
downloadsnakemake-mode-8886280685b63983be8101d98cf9dc6b203d4eac.tar.gz
snakemake-check-target: Relax output order assumption
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 8c3bf7e..3f4dff4 100644
--- a/snakemake.el
+++ b/snakemake.el
@@ -258,7 +258,7 @@ The file list is determined by the output of
(goto-char (point-min))
;; Lean towards misclassifying targets as valid rather than
;; silently dropping valid targets as invalid.
- (not (looking-at snakemake-invalid-target-re)))))
+ (not (re-search-forward snakemake-invalid-target-re nil t)))))
(declare-function org-element-context "org-element")
(declare-function org-element-property "org-element")