]> git.eshelyaron.com Git - emacs.git/commit
Don't let nndiary.el alter variables when loading file
authorEric Abrahamsen <eric@ericabrahamsen.net>
Tue, 7 Sep 2021 18:51:39 +0000 (11:51 -0700)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Tue, 7 Sep 2021 18:51:39 +0000 (11:51 -0700)
commit6cca705aa6b2ae93da8e0cd0da71f87fe583058c
tree5faa8dde0712e4420b035f6016e9e10f20c96736
parent0cd410fb82d780f3c3d3e870103344ca6ef83234
Don't let nndiary.el alter variables when loading file

* lisp/gnus/nndiary.el (nndiary-open-server): Move the manipulation of
`gnus-extra-headers' and `nnmail-extra-headers' into this function: it
should only happen if we're actually firing up an nndiary server.
Previously, simply attempting to complete a gnus-* prefixed symbol
could end up loading this file, and changing the variable values.
lisp/gnus/nndiary.el