* 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.
This commit is contained in:
parent
ae68fad033
commit
c8ec3108a3
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue