# HG changeset patch # User Glenn Morris # Date 1197165941 0 # Node ID 1b363e0443be0bb77fe3416e800926e01f360a56 # Parent 54ba9c058e4afffdbe64d81e8653ecbf8bcc4ccb (declare-function): Add compatibility declaration. (gnus-summary-from-or-to-or-newsgroups): Declare as function. diff -r 54ba9c058e4a -r 1b363e0443be lisp/gnus/gnus-spec.el --- a/lisp/gnus/gnus-spec.el Sun Dec 09 02:04:18 2007 +0000 +++ b/lisp/gnus/gnus-spec.el Sun Dec 09 02:05:41 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)) (defvar gnus-newsrc-file-version) @@ -87,6 +90,9 @@ (defvar gnus-tmp-header) (defvar gnus-tmp-from) +(declare-function gnus-summary-from-or-to-or-newsgroups "gnus-sum" + (header gnus-tmp-from)) + (defun gnus-summary-line-format-spec () (insert gnus-tmp-unread gnus-tmp-replied gnus-tmp-score-char gnus-tmp-indentation)