Commit c8ec3108 authored by Stefan Monnier's avatar Stefan Monnier

* easy-mmode.el: simplify via custom-current-group

* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
Don't try and guess a default :group, defcustom does it better anyway.
parent ae68fad0
Pipeline #1084 failed with stage
in 49 minutes and 4 seconds
......@@ -411,12 +411,6 @@ on if the hook has explicitly disabled it."
(:global (setq keys (cdr keys)))
(_ (push keyw extra-keywords) (push (pop keys) extra-keywords))))
(unless group
;; We might as well provide a best-guess default group.
(setq group
`(:group ',(intern (replace-regexp-in-string
"-mode\\'" "" (symbol-name mode))))))
`(progn
(progn
:autoload-end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment