diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-11-11 14:05:30 -0800 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-11-11 14:05:30 -0800 |
commit | f7062fc9b5efc16cbb075a4d4dc4970bb5d4fab2 (patch) | |
tree | abc8ac63bd6e4b96ca2e7ce09c94882b63ed3390 | |
parent | Add a function `pants-run-fmt` to autoformat Python code. (diff) | |
download | pants.el-f7062fc9b5efc16cbb075a4d4dc4970bb5d4fab2.tar.gz |
Add `:group' and `:type' to all the `defcustom`.
-rw-r--r-- | pants.el | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/pants.el b/pants.el index d213ac1..f96668d 100644 --- a/pants.el +++ b/pants.el @@ -8,25 +8,39 @@ (require 'python) (defcustom pants-source-tree-root nil - "Path to the repository.") + "Path to the repository." + :group 'pants + :type 'string) (defcustom pants-ini "pants.ini" - "Path to the pants.ini file to use. This variable must be set.") + "Path to the pants.ini file to use. This variable must be set." + :group 'pants + :type 'string) (defcustom pants-exec-name "pants" - "Path to the pants executable. This variable must be set.") + "Path to the pants executable. This variable must be set." + :group 'pants + :type 'string) (defcustom pants-extra-args "" - "Extra arguments to pass to the pants executable.") + "Extra arguments to pass to the pants executable." + :group 'pants + :type 'string) (defcustom pants-exec-args "--no-colors" - "Arguments to the pants executable. Default is '--no-colors'") + "Arguments to the pants executable. Default is '--no-colors'" + :group 'pants + :type 'string) (defcustom pants-build-file "BUILD" - "Name of the build files. Default is 'BUILD'") + "Name of the build files. Default is 'BUILD'" + :group 'pants + :type 'string) (defcustom pants-bury-compilation-buffer nil - "Set this variable to true to bury the compilation buffer if there's no error.") + "Set this variable to true to bury the compilation buffer if there's no error." + :group 'pants + :type 'boolean) (defvar *pants-compilation-buffer* "*pants-compilation-buffer*") |