summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--snakemake-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el
index 73085b4..907d3ba 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -200,7 +200,7 @@ Indent according the the first case below that is true.
(save-excursion
(forward-line -1)
(beginning-of-line)
- (looking-at-p (concat snakemake-rule-or-subworkflow-re))))
+ (looking-at-p snakemake-rule-or-subworkflow-re)))
(defun snakemake-in-rule-or-subworkflow-block-p ()
"Return non-nil if point is in block or on first blank line following one."