diff options
| author | Glenn Morris | 2007-12-11 05:45:43 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-12-11 05:45:43 +0000 |
| commit | 39c7e99daeb94a360f551f9c3b9d8372e71ea459 (patch) | |
| tree | a73bac95a4c2049e4cd40df53e508b68d0a30d80 | |
| parent | fe86b5e0085e687c2977770477251260c011038c (diff) | |
| download | emacs-39c7e99daeb94a360f551f9c3b9d8372e71ea459.tar.gz emacs-39c7e99daeb94a360f551f9c3b9d8372e71ea459.zip | |
Add declare-function compatibility definition.
(nnkiboze-score-file): Declare as a function.
| -rw-r--r-- | lisp/gnus/gnus-group.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 5843214e48a..73d632591b5 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el | |||
| @@ -27,6 +27,10 @@ | |||
| 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)))) | ||
| 33 | |||
| 30 | (eval-when-compile | 34 | (eval-when-compile |
| 31 | (require 'cl)) | 35 | (require 'cl)) |
| 32 | (defvar tool-bar-mode) | 36 | (defvar tool-bar-mode) |
| @@ -3004,6 +3008,8 @@ mail messages or news articles in files that have numeric names." | |||
| 3004 | (list 'nndir (gnus-group-real-name group) (list 'nndir-directory dir))))) | 3008 | (list 'nndir (gnus-group-real-name group) (list 'nndir-directory dir))))) |
| 3005 | 3009 | ||
| 3006 | (defvar nnkiboze-score-file) | 3010 | (defvar nnkiboze-score-file) |
| 3011 | (declare-function nnkiboze-score-file "nnkiboze" (group)) | ||
| 3012 | |||
| 3007 | (defun gnus-group-make-kiboze-group (group address scores) | 3013 | (defun gnus-group-make-kiboze-group (group address scores) |
| 3008 | "Create an nnkiboze group. | 3014 | "Create an nnkiboze group. |
| 3009 | The user will be prompted for a name, a regexp to match groups, and | 3015 | The user will be prompted for a name, a regexp to match groups, and |