From 5839d7b01d98d04912dd35d98d70db24d4798be5 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 26 Mar 2017 19:03:39 -0400 Subject: snakemake-root-dir-function: Define defcustom type as radio --- snakemake.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'snakemake.el') 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 -- cgit v1.2.3