summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-03-26 19:05:43 -0400
committerKyle Meyer <kyle@kyleam.com>2017-03-26 21:21:31 -0400
commit61c64d58e5e6aed98f86b95145935da90442c3ed (patch)
treefed394d6db2445f9e649e9970fd5f0f3118ec251
parent5839d7b01d98d04912dd35d98d70db24d4798be5 (diff)
downloadsnakemake-mode-61c64d58e5e6aed98f86b95145935da90442c3ed.tar.gz
snakemake-root-dir-function: Add custom function field
-rw-r--r--snakemake.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/snakemake.el b/snakemake.el
index da26af1..ab56ae5 100644
--- a/snakemake.el
+++ b/snakemake.el
@@ -119,8 +119,9 @@ an absolute path or, if no root is found, nil. When nil, only
Snakefiles in the current directory will be detected."
:type '(radio (const :tag "None" nil)
(function-item vc-root-dir)
- (function-item projectile-project-root))
- :package-version '(snakemake-mode . "0.4.0"))
+ (function-item projectile-project-root)
+ function)
+ :package-version '(snakemake-mode . "1.2.0"))
(defcustom snakemake-file-targets-hook
'(snakemake-region-file-targets