summaryrefslogtreecommitdiff
path: root/snakemake.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-03-26 19:03:39 -0400
committerKyle Meyer <kyle@kyleam.com>2017-03-26 21:21:31 -0400
commit5839d7b01d98d04912dd35d98d70db24d4798be5 (patch)
treed3c93cde8984f20fdfece5fad0ca1bd4cda9a5a8 /snakemake.el
parent4abd191c7a289698033c97e67c2375a18f66a54b (diff)
downloadsnakemake-mode-5839d7b01d98d04912dd35d98d70db24d4798be5.tar.gz
snakemake-root-dir-function: Define defcustom type as radio
Diffstat (limited to 'snakemake.el')
-rw-r--r--snakemake.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/snakemake.el b/snakemake.el
index 35f8930..da26af1 100644
--- a/snakemake.el
+++ b/snakemake.el
@@ -117,9 +117,9 @@
This function will be called with no arguments and should return
an absolute path or, if no root is found, nil. When nil, only
Snakefiles in the current directory will be detected."
- :type '(choice (const :tag "None" nil)
- (function :tag "Use VC" vc-root-dir)
- (function :tag "Use Projectile" projectile-project-root))
+ :type '(radio (const :tag "None" nil)
+ (function-item vc-root-dir)
+ (function-item projectile-project-root))
:package-version '(snakemake-mode . "0.4.0"))
(defcustom snakemake-file-targets-hook