aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-12-11 01:23:07 -0500
committerKyle Meyer <kyle@kyleam.com>2014-12-11 01:23:07 -0500
commit8dbaf607cffcd086082d422a4b03a4681b597e27 (patch)
treeb5a792a7a88a81975c5be2592a2e034de4ac931d
parentd5b386aefdcd10be2d5885c8ddd6e33bbd8cedae (diff)
downloadsnakemake-mode-8dbaf607cffcd086082d422a4b03a4681b597e27.tar.gz
snakemake-run-subrule-line-p: Make cosmetic change
-rw-r--r--snakemake-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el
index a8b3b0a..c6fb3fe 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -186,8 +186,8 @@ Inside rule blocks (or on a blank line directly below),
(save-excursion
(forward-line -1)
(beginning-of-line)
- (when (re-search-forward "^[ \t]+run:" (point-at-eol) t)
- t)))
+ (and (re-search-forward "^[ \t]+run:" (point-at-eol) t)
+ t)))
(defun snakemake-run-field-line-p ()
"Point is on any line below a run field key.