Try initializing the Gnus registry earlier

Somethings restarting Gnus results in many error messages whether the
`gnus-registry` seems to be nil.  Maybe initializing the registry earlier helps?
master
Daniel Borchmann 1 year ago
parent 844b0baf0f
commit 800e4ed4d1
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64

@ -1858,9 +1858,9 @@
;; Use Gnus registry; doing this too early conflicts with `gnus'
;; calling `gnus-shutdown', which in turn calls
;; `gnus-registry-clear', leaving us with an empty registry upon
;; startup. So let's call this initialization right after startup,
;; startup. So let's call this initialization right before startup,
;; that should be fine.
(add-hook 'gnus-started-hook
(add-hook 'gnus-before-startup-hook
#'gnus-registry-initialize)
;; Automatic encryption if all necessary keys are present

Loading…
Cancel
Save