Skip to content

Commit 183ae4d

Browse files
committed
Remove redundant :group entries
The default group of a def.* is the most recently defined group in the file. So it's not necessary to specify :group unless the variable has more than one group.
1 parent 0b89e03 commit 183ae4d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

clojure-mode.el

-11
Original file line numberDiff line numberDiff line change
@@ -83,44 +83,37 @@
8383
(defface clojure-keyword-face
8484
'((t (:inherit font-lock-constant-face)))
8585
"Face used to font-lock Clojure keywords (:something)."
86-
:group 'clojure
8786
:package-version '(clojure-mode . "3.0.0"))
8887

8988
(defface clojure-character-face
9089
'((t (:inherit font-lock-string-face)))
9190
"Face used to font-lock Clojure character literals."
92-
:group 'clojure
9391
:package-version '(clojure-mode . "3.0.0"))
9492

9593
(defface clojure-interop-method-face
9694
'((t (:inherit font-lock-preprocessor-face)))
9795
"Face used to font-lock interop method names (camelCase)."
98-
:group 'clojure
9996
:package-version '(clojure-mode . "3.0.0"))
10097

10198
(defcustom clojure-defun-style-default-indent nil
10299
"When non-nil, use default indenting for functions and macros.
103100
Otherwise check `define-clojure-indent' and `put-clojure-indent'."
104101
:type 'boolean
105-
:group 'clojure
106102
:safe 'booleanp)
107103

108104
(defcustom clojure-use-backtracking-indent t
109105
"When non-nil, enable context sensitive indentation."
110106
:type 'boolean
111-
:group 'clojure
112107
:safe 'booleanp)
113108

114109
(defcustom clojure-max-backtracking 3
115110
"Maximum amount to backtrack up a list to check for context."
116111
:type 'integer
117-
:group 'clojure
118112
:safe 'integerp)
119113

120114
(defcustom clojure-docstring-fill-column fill-column
121115
"Value of `fill-column' to use when filling a docstring."
122116
:type 'integer
123-
:group 'clojure
124117
:safe 'integerp)
125118

126119
(defcustom clojure-docstring-fill-prefix-width 2
@@ -129,7 +122,6 @@ The default value conforms with the de facto convention for
129122
Clojure docstrings, aligning the second line with the opening
130123
double quotes on the third column."
131124
:type 'integer
132-
:group 'clojure
133125
:safe 'integerp)
134126

135127
(defcustom clojure-omit-space-between-tag-and-delimiters '(?\[ ?\{)
@@ -139,7 +131,6 @@ For example, \[ is allowed in :db/id[:db.part/user]."
139131
(const :tag "{" ?\{)
140132
(const :tag "(" ?\()
141133
(const :tag "\"" ?\"))
142-
:group 'clojure
143134
:safe (lambda (value)
144135
(and (listp value)
145136
(cl-every 'characterp value))))
@@ -148,7 +139,6 @@ For example, \[ is allowed in :db/id[:db.part/user]."
148139
"A list of files, which identify a Clojure project's root.
149140
Out-of-the box clojure-mode understands lein, boot and gradle."
150141
:type '(repeat string)
151-
:group 'clojure
152142
:package-version '(clojure-mode . "5.0.0")
153143
:safe (lambda (value)
154144
(and (listp value)
@@ -862,7 +852,6 @@ You can use this to let Emacs indent your own macros the same way
862852
that it indents built-in macros like with-open. To manually set
863853
it from Lisp code, use (put-clojure-indent 'some-symbol :defn)."
864854
:type '(repeat symbol)
865-
:group 'clojure
866855
:set 'add-custom-clojure-indents)
867856

868857
(define-clojure-indent

0 commit comments

Comments
 (0)