From: Glenn Morris Date: Mon, 4 Dec 2017 02:54:08 +0000 (-0800) Subject: Don't enable erc modules on simply loading erc.el X-Git-Tag: emacs-26.0.91~191 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e9ea206;p=emacs.git Don't enable erc modules on simply loading erc.el * lisp/erc/erc.el (erc-modules): Use default :initialize. (Bug#29417) --- 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)