projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae68fad
)
* easy-mmode.el: simplify via custom-current-group
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 26 Mar 2019 15:45:07 +0000
(11:45 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 26 Mar 2019 15:45:07 +0000
(11:45 -0400)
* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
Don't try and guess a default :group, defcustom does it better anyway.
lisp/emacs-lisp/easy-mmode.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/easy-mmode.el
b/lisp/emacs-lisp/easy-mmode.el
index 8ac0a1d5938344d32981c9e5637ba10bdf5eb2f6..be531aab849dda40b410d54641d65c73b0e64a65 100644
(file)
--- a/
lisp/emacs-lisp/easy-mmode.el
+++ b/
lisp/emacs-lisp/easy-mmode.el
@@
-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