Compare commits

...

2 Commits

Author SHA1 Message Date
800e4ed4d1
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?
2022-03-18 17:05:54 +01:00
844b0baf0f
Fix markup in init.el commentary
Use - instead of * for itemize, as otherwise the individual items are confused
with headlines.
2022-03-18 17:05:23 +01:00

12
init.el
View File

@ -4,16 +4,16 @@
;; This is the main entry point for Emacs to load this configuration. The
;; structure is roughly as follows:
;; * first comes some preliminary setup, mostly setting up `package;
;; * the main activation of the configuration is done in the function
;; - first comes some preliminary setup, mostly setting up `package;
;; - the main activation of the configuration is done in the function
;; `db/run-init, which is installed in `after-init-hook; it is thus run
;; after init.el has been read
;; * then comes setting up all the packages that can be used by this
;; - then comes setting up all the packages that can be used by this
;; configuration; most of these packages are not loaded however, and only
;; configuration hooks are installed (using `use-package); this way a user
;; can choose in `db/run-init which configuration to activate without
;; changing much of the rest of the file.
;; * this file also introduces a new customization group `personal-settings
;; - this file also introduces a new customization group `personal-settings
;; containing variables (mostly file paths) that must be set to enable some
;; of the provided functionality.
@ -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