Delay initialization of Gnus' registry
Apparently, with the advent of Emacs 27.1, Gnus clears up everything before startup. Sadly, this also removes any initialized registry, such that we are left with an uninitialized registry on startup. To remedy this, let's postpone the registry setup right after Gnus has started.master
parent
44c23b7a28
commit
ea9afe72d7
9
init.el
9
init.el
|
@ -1744,8 +1744,13 @@
|
|||
(add-hook 'gnus-summary-exit-hook
|
||||
'gnus-summary-bubble-group)
|
||||
|
||||
;; Use Gnus’ registry
|
||||
(gnus-registry-initialize)
|
||||
;; 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,
|
||||
;; that should be fine.
|
||||
(add-hook 'gnus-started-hook
|
||||
#'gnus-registry-initialize)
|
||||
|
||||
;; Automatic encryption if all necessary keys are present
|
||||
(add-hook 'gnus-message-setup-hook
|
||||
|
|
Loading…
Reference in New Issue