Add explicit autoload for gnus-registry-split-with-parent

Apparantly, when Gnus starts up for the first time, this function seems to be
undefined, because we are calling gnus-registry-initialize quite late in the
init process.  Let's try to fix this by having this autoload.
This commit is contained in:
Daniel - 2020-12-20 09:00:38 +01:00
parent 904f7e6902
commit b40c8672bc
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 14 additions and 11 deletions

25
init.el
View File

@ -1527,6 +1527,7 @@
gnus-always-force-window-configuration t gnus-always-force-window-configuration t
gnus-fetch-old-headers nil gnus-fetch-old-headers nil
gnus-select-method '(nnnil "") gnus-select-method '(nnnil "")
gnus-refer-article-method 'current
gnus-visible-headers (regexp-opt '("From:" gnus-visible-headers (regexp-opt '("From:"
"Newsgroups:" "Newsgroups:"
@ -1635,17 +1636,19 @@
;; Gnus Registry ;; Gnus Registry
(setq gnus-registry-split-strategy 'majority (use-package gnus-registry
gnus-registry-ignored-groups '(("^nntp" t) :commands (gnus-registry-split-fancy-with-parent
("^nnfolder" t) gnus-registry-initialize)
("^nnir" t) :init (setq gnus-registry-split-strategy 'majority
("^nnmaildir" t) gnus-registry-ignored-groups '(("^nntp" t)
("INBOX$" t)) ("^nnfolder" t)
gnus-registry-max-entries 40000 ("^nnir" t)
gnus-registry-track-extra '(sender subject recipient) ("^nnmaildir" t)
gnus-registry-cache-file (expand-file-name "gnus.registry.eioioi" ("INBOX$" t))
emacs-d) gnus-registry-max-entries 40000
gnus-refer-article-method 'current) gnus-registry-track-extra '(sender subject recipient)
gnus-registry-cache-file (expand-file-name "gnus.registry.eioioi"
emacs-d)))
;; MIME decoding ;; MIME decoding