Add 'nnregistry-request-group' function for 'gnus-refer-article'

nnregistry doesn't handle any servers or groups; however we have to
define the dummy function so Gnus-registry works as refer article
method, as the `gnus-check-group-server' function requires it.
The latter function is called when referring to articles to check the
source group first before actually requesting any articles.
* lisp/gnus/nnregistry.el (nnregistry-request-group): New deffoo.
(Bug#22414)
This commit is contained in:
Björn Bidar 2025-01-22 01:28:22 +02:00 committed by Eli Zaretskii
parent 77ff0df588
commit 628e3cb22d

View file

@ -47,6 +47,9 @@
(deffoo nnregistry-open-server (_server &optional _defs)
gnus-registry-db)
(deffoo nnregistry-request-group (_group &optional _server _dont-check _info)
t)
(defvar nnregistry-within-nnregistry nil)
(deffoo nnregistry-request-article (id &optional _group _server buffer)