emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/rubocop 3afa591 41/64: Make some defvars defcustoms


From: ELPA Syncer
Subject: [nongnu] elpa/rubocop 3afa591 41/64: Make some defvars defcustoms
Date: Wed, 11 Aug 2021 10:08:01 -0400 (EDT)

branch: elpa/rubocop
commit 3afa5911d61dbccf6b158c64283d18c2f0e4f774
Author: Bozhidar Batsov <bozhidar@batsov.com>
Commit: Bozhidar Batsov <bozhidar@batsov.com>

    Make some defvars defcustoms
---
 rubocop.el | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/rubocop.el b/rubocop.el
index 22776f2..160a155 100644
--- a/rubocop.el
+++ b/rubocop.el
@@ -39,19 +39,24 @@
 (defgroup rubocop nil
   "An Emacs interface for RuboCop."
   :group 'tools
-  :group 'convenience)
+  :group 'convenience
+  :prefix "rubocop-"
+  :link '(url-link :tag "GitHub" "https://github.com/bbatsov/rubocop-emacs";))
 
-(defvar rubocop-project-root-files
+(defcustom rubocop-project-root-files
   '(".projectile" ".git" ".hg" ".bzr" "_darcs" "Gemfile")
-  "A list of files considered to mark the root of a project.")
+  "A list of files considered to mark the root of a project."
+  :type '(repeat string))
 
-(defvar rubocop-check-command
+(defcustom rubocop-check-command
   "rubocop --format emacs"
-  "The command used to run RuboCop checks.")
+  "The command used to run RuboCop checks."
+  :type 'string)
 
-(defvar rubocop-autocorrect-command
+(defcustom rubocop-autocorrect-command
   "rubocop -a --format emacs"
-  "The command used to run RuboCop's autocorrection.")
+  "The command used to run RuboCop's autocorrection."
+  :type 'string)
 
 (defcustom rubocop-keymap-prefix (kbd "C-c C-r")
   "RuboCop keymap prefix."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]