Give compile-command a :group again

Like the commit of 2022-07-31
"Fix further package.el loaddefs byte-compile warnings"
this pacifies the warning that compile-command fails to specify
a containing group when byte-compiling loaddefs.el (bug#80648).

* lisp/progmodes/compile.el (compile-command): Restore explicit
custom :group on autoloaded user option.
This commit is contained in:
Basil L. Contovounesios 2026-03-25 16:06:16 +01:00
parent 9b0c23a890
commit 0048dd0da0

View file

@ -991,6 +991,7 @@ You might also use mode hooks to specify it in certain modes, like this:
(file-name-sans-extension buffer-file-name))))))))
It's often useful to leave a space at the end of the value."
:group 'compilation
:initialize #'custom-initialize-delay
:type 'string)
;;;###autoload(put 'compile-command 'safe-local-variable (lambda (a) (and (stringp a) (if (boundp 'compilation-read-command) compilation-read-command t))))