# HG changeset patch # User Glenn Morris # Date 1197166027 0 # Node ID e7e2bc9b899d61a9edd68d85cd3cb5cba731d135 # Parent 1b363e0443be0bb77fe3416e800926e01f360a56 (declare-function): Add compatibility declaration. (gnus-get-predicate): Declare as function. diff -r 1b363e0443be -r e7e2bc9b899d lisp/gnus/gnus-sum.el --- a/lisp/gnus/gnus-sum.el Sun Dec 09 02:05:41 2007 +0000 +++ b/lisp/gnus/gnus-sum.el Sun Dec 09 02:07:07 2007 +0000 @@ -27,6 +27,9 @@ ;;; Code: +;; For Emacs < 22.2. +(eval-and-compile + (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) (eval-when-compile (require 'cl)) @@ -5576,6 +5579,8 @@ (gnus-inverse-list-range-intersection gnus-newsgroup-articles gnus-newsgroup-seen)))) +(declare-function gnus-get-predicate "gnus-agent" (predicate)) + (defun gnus-summary-display-make-predicate (display) (require 'gnus-agent) (when (= (length display) 1)