diff options
| author | Björn Bidar | 2025-01-22 01:28:22 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2025-02-08 11:14:48 +0200 |
| commit | 628e3cb22d196c31fc2452c3eab4a62af4bf66b2 (patch) | |
| tree | 30ecfd8476a961f6e76fd9673248b96a3cae3e94 | |
| parent | 77ff0df588b6691db38be810210225e84d15eca3 (diff) | |
| download | emacs-628e3cb22d196c31fc2452c3eab4a62af4bf66b2.tar.gz emacs-628e3cb22d196c31fc2452c3eab4a62af4bf66b2.zip | |
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)
| -rw-r--r-- | lisp/gnus/nnregistry.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/gnus/nnregistry.el b/lisp/gnus/nnregistry.el index edf773209d6..10363560ba6 100644 --- a/lisp/gnus/nnregistry.el +++ b/lisp/gnus/nnregistry.el | |||
| @@ -47,6 +47,9 @@ | |||
| 47 | (deffoo nnregistry-open-server (_server &optional _defs) | 47 | (deffoo nnregistry-open-server (_server &optional _defs) |
| 48 | gnus-registry-db) | 48 | gnus-registry-db) |
| 49 | 49 | ||
| 50 | (deffoo nnregistry-request-group (_group &optional _server _dont-check _info) | ||
| 51 | t) | ||
| 52 | |||
| 50 | (defvar nnregistry-within-nnregistry nil) | 53 | (defvar nnregistry-within-nnregistry nil) |
| 51 | 54 | ||
| 52 | (deffoo nnregistry-request-article (id &optional _group _server buffer) | 55 | (deffoo nnregistry-request-article (id &optional _group _server buffer) |