mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(with-no-warnings): Define it for old Emacsen.
This commit is contained in:
parent
38dc51ba9b
commit
5cc79e5aff
2 changed files with 8 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
|
||||
|
||||
* gnus-util.el (gnus-float-time): Alias to float-time if it exists.
|
||||
* gnus-util.el (with-no-warnings): Define it for old Emacsen.
|
||||
(gnus-float-time): Alias to float-time if it exists.
|
||||
|
||||
* ecomplete.el (with-no-warnings): Define it for old Emacsen.
|
||||
(ecomplete-add-item): Don't use (featurep 'xemacs) to check if
|
||||
|
|
|
|||
|
|
@ -38,6 +38,12 @@
|
|||
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
|
||||
(eval-when-compile
|
||||
(require 'cl))
|
||||
|
||||
(eval-when-compile
|
||||
(unless (fboundp 'with-no-warnings)
|
||||
(defmacro with-no-warnings (&rest body)
|
||||
`(progn ,@body))))
|
||||
|
||||
;; Fixme: this should be a gnus variable, not nnmail-.
|
||||
(defvar nnmail-pathname-coding-system)
|
||||
(defvar nnmail-active-file-coding-system)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue