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?
This commit is contained in:
parent
844b0baf0f
commit
800e4ed4d1
4
init.el
4
init.el
|
@ -1858,9 +1858,9 @@
|
||||||
;; Use Gnus’ registry; doing this too early conflicts with `gnus'
|
;; Use Gnus’ registry; doing this too early conflicts with `gnus'
|
||||||
;; calling `gnus-shutdown', which in turn calls
|
;; calling `gnus-shutdown', which in turn calls
|
||||||
;; `gnus-registry-clear', leaving us with an empty registry upon
|
;; `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.
|
;; that should be fine.
|
||||||
(add-hook 'gnus-started-hook
|
(add-hook 'gnus-before-startup-hook
|
||||||
#'gnus-registry-initialize)
|
#'gnus-registry-initialize)
|
||||||
|
|
||||||
;; Automatic encryption if all necessary keys are present
|
;; Automatic encryption if all necessary keys are present
|
||||||
|
|
Loading…
Reference in New Issue