Commit 75327e94 authored by Glenn Morris's avatar Glenn Morris

Add declare-function compatibility definition.

(gnus-request-group): Autoload it.
(gnus-request-create-group): Declare as a function.
parent 8867ac54
......@@ -31,6 +31,10 @@
;;; Code:
;; For Emacs < 22.2.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
(require 'nnheader)
(require 'message)
(require 'nnmail)
......@@ -429,6 +433,10 @@ the group. Then the marks file will be regenerated properly by Gnus.")
;; The article numbers are increasing, so this result is sorted.
(nreverse numbers)))))
(autoload 'gnus-request-group "gnus-int")
(declare-function gnus-request-create-group "gnus-int"
(group &optional gnus-command-method args))
(deffoo nnfolder-request-expire-articles (articles newsgroup
&optional server force)
(nnfolder-possibly-change-group newsgroup server)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment