From e9ea2065a82c46b3524633e4638834fc70ae3e6e Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sun, 3 Dec 2017 18:54:08 -0800 Subject: [PATCH] Don't enable erc modules on simply loading erc.el * lisp/erc/erc.el (erc-modules): Use default :initialize. (Bug#29417) --- lisp/erc/erc.el | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.2