]> git.eshelyaron.com Git - emacs.git/commit
Prevent the Gnus registry from being loaded twice at startup
authorEric Abrahamsen <eric@ericabrahamsen.net>
Mon, 17 Jun 2019 02:14:25 +0000 (19:14 -0700)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Mon, 17 Jun 2019 02:14:25 +0000 (19:14 -0700)
commit2815174f100798c6c84f4098dc6eb28336aa951e
tree29ed9ce129f992a98f42aa6b5df6b0dbcce3280d
parent8c56eb0525c22acee713434840c2ef0a1a3811cc
Prevent the Gnus registry from being loaded twice at startup

* lisp/gnus/gnus-registry.el (gnus-registry-load): Check if the
  registry is already loaded, and don't load again unless new optional
  FORCE argument is non-nil.
  (gnus-registry-clear): New function to clear the registry, added as
  a Gnus shutdown. Now that loading doesn't unilaterally reset the
  registry, we need to make sure it is reloaded when Gnus is.
lisp/gnus/gnus-registry.el