[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r99734: * mail-source.el (gnus-messag
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r99734: * mail-source.el (gnus-message): Declare. |
Date: |
Tue, 23 Mar 2010 20:21:53 -0700 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 99734
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2010-03-23 20:21:53 -0700
message:
* mail-source.el (gnus-message): Declare.
(mail-source-delete-old-incoming): Require gnus-util.
modified:
lisp/gnus/ChangeLog
lisp/gnus/mail-source.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog 2010-03-23 07:37:09 +0000
+++ b/lisp/gnus/ChangeLog 2010-03-24 03:21:53 +0000
@@ -1,3 +1,8 @@
+2010-03-24 Glenn Morris <address@hidden>
+
+ * mail-source.el (gnus-message): Declare.
+ (mail-source-delete-old-incoming): Require gnus-util.
+
2010-03-23 Katsumi Yamaoka <address@hidden>
* gnus-art.el (canlock-verify): Autoload it for Emacs 21.
=== modified file 'lisp/gnus/mail-source.el'
--- a/lisp/gnus/mail-source.el 2010-01-13 08:35:10 +0000
+++ b/lisp/gnus/mail-source.el 2010-03-24 03:21:53 +0000
@@ -1,7 +1,7 @@
;;; mail-source.el --- functions for fetching mail
-;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
-;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
+;; 2008, 2009, 2010 Free Software Foundation, Inc.
;; Author: Lars Magne Ingebrigtsen <address@hidden>
;; Keywords: news, mail
@@ -574,10 +574,13 @@
(error "Cannot get new mail"))
0)))))))))
+(declare-function gnus-message "gnus-util" (level &rest args))
+
(defun mail-source-delete-old-incoming (&optional age confirm)
"Remove incoming files older than AGE days.
If CONFIRM is non-nil, ask for confirmation before removing a file."
(interactive "P")
+ (require 'gnus-util)
(let* ((high2days (/ 65536.0 60 60 24));; convert high bits to days
(low2days (/ 1.0 65536.0)) ;; convert low bits to days
(diff (if (natnump age) age 30));; fallback, if no valid AGE given
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r99734: * mail-source.el (gnus-message): Declare.,
Glenn Morris <=