diff options
Diffstat (limited to 'lisp/gnus/nndb.el')
-rw-r--r-- | lisp/gnus/nndb.el | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lisp/gnus/nndb.el b/lisp/gnus/nndb.el index 03da8ca1077..655c3b96ee1 100644 --- a/lisp/gnus/nndb.el +++ b/lisp/gnus/nndb.el @@ -48,6 +48,12 @@ ;; * make the backend TOUCH an article when marked as expireable (will ;; make article expire 'expiry' days after that moment). +;;; Code: + +;; For Emacs < 22.2. +(eval-and-compile + (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) + ;;- ;; Register nndb with known select methods. @@ -55,8 +61,6 @@ (unless (assoc "nndb" gnus-valid-select-methods) (gnus-declare-backend "nndb" 'mail 'respool 'address 'prompt-address)) -;;; Code: - (require 'nnmail) (require 'nnheader) (require 'nntp) @@ -240,8 +244,11 @@ expiry mechanism." (nndb-request-expire-articles-remote articles group server force) (nndb-request-expire-articles-local articles group server force))) +;; _Something_ defines it... +(declare-function nndb-request-article "nndb" t t) + (deffoo nndb-request-move-article - (article group server accept-form &optional last) + (article group server accept-form &optional last move-is-internal) "Move ARTICLE (a number) from GROUP on SERVER. Evals ACCEPT-FORM in current buffer, where the article is. Optional LAST is ignored." |