Remember to fix setting `gnus-secondary-select-methods'
If `db/mail-accounts' specifies accounts multiple times, or a definition for some of these accounts is already present in `db/other-gnus-accounts', accounts will be added multiple times with the current implementation. Apparently, Gnus does not seem to care, but it would be better to have this fixed properly.
This commit is contained in:
parent
a69d837171
commit
5707c9233e
|
@ -92,6 +92,7 @@ ACCOUNT must be a valid element of `db/mail-accounts’."
|
||||||
"Set `gnus-secondary-select-methods’ from OTHER-GNUS-ACCOUNTS and REMOTE-MAIL-ACCOUNTS.
|
"Set `gnus-secondary-select-methods’ from OTHER-GNUS-ACCOUNTS and REMOTE-MAIL-ACCOUNTS.
|
||||||
The values of the latter two variables are usually those of
|
The values of the latter two variables are usually those of
|
||||||
`db/other-gnus-accounts’ and `db/mail-accounts’."
|
`db/other-gnus-accounts’ and `db/mail-accounts’."
|
||||||
|
;; XXX: this does not check whether accounts are added multiple times
|
||||||
(setq gnus-secondary-select-methods
|
(setq gnus-secondary-select-methods
|
||||||
(append other-gnus-accounts
|
(append other-gnus-accounts
|
||||||
;; Only add those remote accounts whose IMAP address is neither
|
;; Only add those remote accounts whose IMAP address is neither
|
||||||
|
|
Loading…
Reference in New Issue
Block a user