diff options
| author | Katsumi Yamaoka | 2009-09-09 10:41:50 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2009-09-09 10:41:50 +0000 |
| commit | 5cc79e5aff4952b45c8712232565f577ff550eba (patch) | |
| tree | 455180de62ed72fe0902b050010abf14a6305928 /lisp | |
| parent | 38dc51ba9b5372a8035445fa3a230115def726bd (diff) | |
| download | emacs-5cc79e5aff4952b45c8712232565f577ff550eba.tar.gz emacs-5cc79e5aff4952b45c8712232565f577ff550eba.zip | |
(with-no-warnings): Define it for old Emacsen.
Diffstat (limited to 'lisp')
| -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) |