Don't enable erc modules on simply loading erc.el
* lisp/erc/erc.el (erc-modules): Use default :initialize. (Bug#29417)
This commit is contained in:
parent
4b06af0643
commit
e9ea2065a8
1 changed files with 1 additions and 0 deletions
|
@ -1832,6 +1832,7 @@ removed from the list will be disabled."
|
||||||
:get (lambda (sym)
|
:get (lambda (sym)
|
||||||
;; replace outdated names with their newer equivalents
|
;; replace outdated names with their newer equivalents
|
||||||
(erc-migrate-modules (symbol-value sym)))
|
(erc-migrate-modules (symbol-value sym)))
|
||||||
|
:initialize 'custom-initialize-default
|
||||||
:set (lambda (sym val)
|
:set (lambda (sym val)
|
||||||
;; disable modules which have just been removed
|
;; disable modules which have just been removed
|
||||||
(when (and (boundp 'erc-modules) erc-modules val)
|
(when (and (boundp 'erc-modules) erc-modules val)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue