]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix invalid defcustom :group when :predicate is used
authorRichard Hansen <rhansen@rhansen.org>
Sat, 18 Jun 2022 12:11:01 +0000 (14:11 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 18 Jun 2022 12:11:01 +0000 (14:11 +0200)
* 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).

lisp/emacs-lisp/easy-mmode.el

index 1d93fe480141ae2093f3752bc2133fa091dd9143..df379035038794ed418e9d16c61e5ffbaaa2370b 100644 (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.