diff options
| author | Glenn Morris | 2007-12-09 02:05:41 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-12-09 02:05:41 +0000 |
| commit | 2d1974c9e45e089a6bb1ed51dbe3e2776dc274d7 (patch) | |
| tree | 33620930692dd41d4524cdd174965cac97ef96db | |
| parent | 9640c3bce092d39e121b8101756282c816b99066 (diff) | |
| download | emacs-2d1974c9e45e089a6bb1ed51dbe3e2776dc274d7.tar.gz emacs-2d1974c9e45e089a6bb1ed51dbe3e2776dc274d7.zip | |
(declare-function): Add compatibility declaration.
(gnus-summary-from-or-to-or-newsgroups): Declare as function.
| -rw-r--r-- | lisp/gnus/gnus-spec.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-spec.el b/lisp/gnus/gnus-spec.el index f87377cb1ed..5b8bf92ffdb 100644 --- a/lisp/gnus/gnus-spec.el +++ b/lisp/gnus/gnus-spec.el | |||
| @@ -27,6 +27,9 @@ | |||
| 27 | 27 | ||
| 28 | ;;; Code: | 28 | ;;; Code: |
| 29 | 29 | ||
| 30 | ;; For Emacs < 22.2. | ||
| 31 | (eval-and-compile | ||
| 32 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) | ||
| 30 | (eval-when-compile (require 'cl)) | 33 | (eval-when-compile (require 'cl)) |
| 31 | (defvar gnus-newsrc-file-version) | 34 | (defvar gnus-newsrc-file-version) |
| 32 | 35 | ||
| @@ -87,6 +90,9 @@ text properties. This is only needed on XEmacs, as FSF Emacs does this anyway." | |||
| 87 | (defvar gnus-tmp-header) | 90 | (defvar gnus-tmp-header) |
| 88 | (defvar gnus-tmp-from) | 91 | (defvar gnus-tmp-from) |
| 89 | 92 | ||
| 93 | (declare-function gnus-summary-from-or-to-or-newsgroups "gnus-sum" | ||
| 94 | (header gnus-tmp-from)) | ||
| 95 | |||
| 90 | (defun gnus-summary-line-format-spec () | 96 | (defun gnus-summary-line-format-spec () |
| 91 | (insert gnus-tmp-unread gnus-tmp-replied | 97 | (insert gnus-tmp-unread gnus-tmp-replied |
| 92 | gnus-tmp-score-char gnus-tmp-indentation) | 98 | gnus-tmp-score-char gnus-tmp-indentation) |