diff options
author | Glenn Morris <rgm@gnu.org> | 2017-12-03 18:54:08 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2017-12-03 18:54:08 -0800 |
commit | e9ea2065a82c46b3524633e4638834fc70ae3e6e (patch) | |
tree | 7dc0a5284454b513bf1ee76eb24f7e0f6a5381f6 /lisp | |
parent | 4b06af0643d14b4e989a9360444b6ee0768ae99a (diff) | |
download | emacs-e9ea2065a82c46b3524633e4638834fc70ae3e6e.tar.gz emacs-e9ea2065a82c46b3524633e4638834fc70ae3e6e.tar.bz2 emacs-e9ea2065a82c46b3524633e4638834fc70ae3e6e.zip |
Don't enable erc modules on simply loading erc.el
* lisp/erc/erc.el (erc-modules): Use default :initialize. (Bug#29417)
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/erc/erc.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 5fe4f9a80a4..d75209a0e28 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -1832,6 +1832,7 @@ removed from the list will be disabled." :get (lambda (sym) ;; replace outdated names with their newer equivalents (erc-migrate-modules (symbol-value sym))) + :initialize 'custom-initialize-default :set (lambda (sym val) ;; disable modules which have just been removed (when (and (boundp 'erc-modules) erc-modules val) |