Only initialize BBDB for message-mode

Being asked all the time whether to add the contact of the current message to BBDB is annoying.
This commit is contained in:
Daniel Borchmann 2025-03-09 09:31:04 +01:00
parent 7cbe776c7f
commit 41c4295e82
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

@ -1539,7 +1539,7 @@ Note that this workaround is incomplete, as explained in this comment."
(with-demoted-errors "Setting up BBDB failed: %s"
(bbdb-initialize 'gnus 'message)
(bbdb-mua-auto-update-init 'gnus 'message))
(bbdb-mua-auto-update-init 'message))
;; Ensure that whenever we compose new mail, it will use the correct posting style.
;; This is ensured by setting ARG of `gnus-group-mail to 1 in case it is not set, to