diff options
| -rw-r--r-- | lisp/gnus/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/gnus/gnus-util.el | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 957881ef420..61754929324 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org> | 1 | 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 2 | ||
| 3 | * gnus-util.el (gnus-float-time): Alias to float-time if it exists. | 3 | * gnus-util.el (with-no-warnings): Define it for old Emacsen. |
| 4 | (gnus-float-time): Alias to float-time if it exists. | ||
| 4 | 5 | ||
| 5 | * ecomplete.el (with-no-warnings): Define it for old Emacsen. | 6 | * ecomplete.el (with-no-warnings): Define it for old Emacsen. |
| 6 | (ecomplete-add-item): Don't use (featurep 'xemacs) to check if | 7 | (ecomplete-add-item): Don't use (featurep 'xemacs) to check if |
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el index 3766b3bd59d..28a8c5dbed4 100644 --- a/lisp/gnus/gnus-util.el +++ b/lisp/gnus/gnus-util.el | |||
| @@ -38,6 +38,12 @@ | |||
| 38 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) | 38 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) |
| 39 | (eval-when-compile | 39 | (eval-when-compile |
| 40 | (require 'cl)) | 40 | (require 'cl)) |
| 41 | |||
| 42 | (eval-when-compile | ||
| 43 | (unless (fboundp 'with-no-warnings) | ||
| 44 | (defmacro with-no-warnings (&rest body) | ||
| 45 | `(progn ,@body)))) | ||
| 46 | |||
| 41 | ;; Fixme: this should be a gnus variable, not nnmail-. | 47 | ;; Fixme: this should be a gnus variable, not nnmail-. |
| 42 | (defvar nnmail-pathname-coding-system) | 48 | (defvar nnmail-pathname-coding-system) |
| 43 | (defvar nnmail-active-file-coding-system) | 49 | (defvar nnmail-active-file-coding-system) |