Skip to content

Commit dfec538

Browse files
monnierzonuexe
authored andcommitted
Remove unnecessary :group 'php-mode from defcustom
1 parent ca74856 commit dfec538

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

lisp/php-mode.el

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,13 @@ When CALLED-INTERACTIVE then message the result." t)
138138
(define-obsolete-variable-alias 'php-default-face 'php-mode-default-face "1.20.0")
139139
(defcustom php-mode-default-face 'default
140140
"Default face in `php-mode' buffers."
141-
:group 'php-mode
142141
:tag "PHP Mode Default Face"
143142
:type 'face)
144143

145144
(define-obsolete-variable-alias 'php-speedbar-config 'php-mode-speedbar-config "1.20.0")
146145
(defcustom php-mode-speedbar-config t
147146
"When set to true automatically configures Speedbar to observe PHP files.
148147
Ignores php-file patterns option; fixed to expression \"\\.\\(inc\\|php[s345]?\\)\""
149-
:group 'php-mode
150148
:tag "PHP Mode Speedbar Config"
151149
:type 'boolean
152150
:set (lambda (sym val)
@@ -158,7 +156,6 @@ Ignores php-file patterns option; fixed to expression \"\\.\\(inc\\|php[s345]?\\
158156
(defcustom php-mode-speedbar-open nil
159157
"Normally `php-mode' starts with the speedbar closed.
160158
Turning this on will open it whenever `php-mode' is loaded."
161-
:group 'php-mode
162159
:tag "PHP Mode Speedbar Open"
163160
:type 'boolean
164161
:set (lambda (sym val)
@@ -169,14 +166,12 @@ Turning this on will open it whenever `php-mode' is loaded."
169166
(define-obsolete-variable-alias 'php-template-compatibility 'php-mode-template-compatibility "1.20.0")
170167
(defcustom php-mode-template-compatibility t
171168
"Should detect presence of html tags."
172-
:group 'php-mode
173169
:tag "PHP Mode Template Compatibility"
174170
:type 'boolean)
175171

176172
(define-obsolete-variable-alias 'php-lineup-cascaded-calls 'php-mode-lineup-cascaded-calls "1.20.0")
177173
(defcustom php-mode-lineup-cascaded-calls nil
178174
"Indent chained method calls to the previous line."
179-
:group 'php-mode
180175
:tag "PHP Mode Lineup Cascaded Calls"
181176
:type 'boolean)
182177

@@ -186,15 +181,13 @@ Turning this on will open it whenever `php-mode' is loaded."
186181
(or "namespace" "function" "class" "trait" "interface")
187182
symbol-end))
188183
"Regexp describing line-beginnings that PHP declaration statements."
189-
:group 'php-mode
190184
:tag "PHP Mode Page Delimiter"
191185
:type 'regexp)
192186

193187
(defcustom php-mode-replace-flymake-diag-function
194188
(eval-when-compile (when (boundp 'flymake-diagnostic-functions)
195189
#'php-flymake))
196190
"Flymake function to replace, if NIL do not replace."
197-
:group 'php-mode
198191
:tag "PHP Mode Replace Flymake Diag Function"
199192
:type '(choice 'function
200193
(const :tag "Disable to replace" nil)))
@@ -208,7 +201,6 @@ set to `semantic-create-imenu-index' due to `c-mode' being its
208201
parent. Set this variable to t if you want to use
209202
`imenu-default-create-index-function' even with `semantic-mode'
210203
enabled."
211-
:group 'php-mode
212204
:tag "PHP Mode Do Not Use Semantic Imenu"
213205
:type 'boolean)
214206

@@ -219,44 +211,37 @@ enabled."
219211

220212
(defcustom php-mode-hook nil
221213
"List of functions to be executed on entry to `php-mode'."
222-
:group 'php-mode
223214
:tag "PHP Mode Hook"
224215
:type 'hook)
225216

226217
(defcustom php-mode-pear-hook nil
227218
"Hook called when a PHP PEAR file is opened with `php-mode'."
228-
:group 'php-mode
229219
:tag "PHP Mode Pear Hook"
230220
:type 'hook)
231221

232222
(defcustom php-mode-drupal-hook nil
233223
"Hook called when a Drupal file is opened with `php-mode'."
234-
:group 'php-mode
235224
:tag "PHP Mode Drupal Hook"
236225
:type 'hook)
237226

238227
(defcustom php-mode-wordpress-hook nil
239228
"Hook called when a WordPress file is opened with `php-mode'."
240-
:group 'php-mode
241229
:tag "PHP Mode WordPress Hook"
242230
:type 'hook)
243231

244232
(defcustom php-mode-symfony2-hook nil
245233
"Hook called when a Symfony2 file is opened with `php-mode'."
246-
:group 'php-mode
247234
:tag "PHP Mode Symfony2 Hook"
248235
:type 'hook)
249236

250237
(defcustom php-mode-psr2-hook nil
251238
"Hook called when a PSR-2 file is opened with `php-mode'."
252-
:group 'php-mode
253239
:tag "PHP Mode PSR-2 Hook"
254240
:type 'hook)
255241

256242
(defcustom php-mode-force-pear nil
257243
"Normally PEAR coding rules are enforced only when the filename contains \"PEAR\".
258244
Turning this on will force PEAR rules on all PHP files."
259-
:group 'php-mode
260245
:tag "PHP Mode Force Pear"
261246
:type 'boolean)
262247

@@ -265,7 +250,6 @@ Turning this on will force PEAR rules on all PHP files."
265250
mumamo-mode turned on. Detects if there are any HTML tags in the
266251
buffer before warning, but this is is not very smart; e.g. if you
267252
have any tags inside a PHP string, it will be fooled."
268-
:group 'php-mode
269253
:tag "PHP Mode Warn If MuMaMo Off"
270254
:type '(choice (const :tag "Warn" t) (const "Don't warn" nil)))
271255

@@ -279,7 +263,6 @@ This variable can take one of the following symbol values:
279263
`Drupal' - use coding styles preferred for working with Drupal projects.
280264
`WordPress' - use coding styles preferred for working with WordPress projects.
281265
`Symfony2' - use coding styles preferred for working with Symfony2 projects."
282-
:group 'php-mode
283266
:tag "PHP Mode Coding Style"
284267
:type '(choice (const :tag "Default" php)
285268
(const :tag "PEAR" pear)
@@ -296,7 +279,6 @@ This variable can take one of the following symbol values:
296279
297280
If you want to suppress styles from being overwritten by directory / file
298281
local variables, set NIL."
299-
:group 'php-mode
300282
:tag "PHP Mode Enable Project Coding Style"
301283
:type 'boolean)
302284

@@ -305,21 +287,18 @@ local variables, set NIL."
305287
306288
This function may interfere with other hooks and other behaviors.
307289
In that case set to `NIL'."
308-
:group 'php-mode
309290
:tag "PHP Mode Enable Backup Style Variables"
310291
:type 'boolean)
311292

312293
(define-obsolete-variable-alias 'php-mode-disable-parent-mode-hooks 'php-mode-disable-c-mode-hook "1.21.0")
313294
(defcustom php-mode-disable-c-mode-hook t
314295
"When set to `T', do not run hooks of parent modes (`java-mode', `c-mode')."
315-
:group 'php-mode
316296
:tag "PHP Mode Disable C Mode Hook"
317297
:type 'boolean)
318298
(make-obsolete-variable 'php-mode-disable-c-mode-hook nil "1.24.2")
319299

320300
(defcustom php-mode-enable-project-local-variable t
321301
"When set to `T', apply project local variable to buffer local variable."
322-
:group 'php-mode
323302
:tag "PHP Mode Enable Project Local Variable"
324303
:type 'boolean)
325304

0 commit comments

Comments
 (0)