Commit cdbd069a authored by Glenn Morris's avatar Glenn Morris

Add declare-function compatibility definition.

(gnus-group-mark-article-read): Declare as a function.
parent 0f7cbeb9
......@@ -61,6 +61,10 @@
)
]
;; For Emacs < 22.2.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
(eval-and-compile
(require 'nnheader)
(require 'gnus)
......@@ -1439,6 +1443,8 @@ by nnmaildir-request-article.")
(defun nnmaildir-active-number (gname)
0)
(declare-function gnus-group-mark-article-read "gnus-group" (group article))
(defun nnmaildir-request-expire-articles (ranges &optional gname server force)
(let ((no-force (not force))
(group (nnmaildir--prepare server gname))
......
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