Fix invalid defcustom :group when :predicate is used

* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix
invalid `:group' argument for the `-modes' defcustom that is created
when `:predicate' is used (bug#56049).
This commit is contained in:
Richard Hansen 2022-06-18 14:11:01 +02:00 committed by Lars Ingebrigtsen
parent 024bbcb35e
commit 422f958030

View file

@ -555,7 +555,7 @@ and nil means \"don't use\". There's an implicit nil at the end of the
list."
mode)
:type '(repeat sexp)
:group ,group))
,@group))
;; Autoloading define-globalized-minor-mode autoloads everything
;; up-to-here.