]> code.delx.au - gnu-emacs/blobdiff - lisp/emacs-lisp/gulp.el
(byte-compile-interactive-only-functions): Add comint-run.
[gnu-emacs] / lisp / emacs-lisp / gulp.el
index 877e62255b37a58f9b1a3d8d09b4a58b82ed454e..475e2ad753a2580fea32a807bb0da04bbded38d2 100644 (file)
@@ -1,17 +1,18 @@
-;;; gulp.el --- Ask for updates for Lisp packages
+;;; gulp.el --- ask for updates for Lisp packages
 
-;; Copyright (C) 1996 Free Software Foundation, Inc.
+;; Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005,
+;;   2006, 2007, 2008, 2009 Free Software Foundation, Inc.
 
 ;; Author: Sam Shteingold <shteingd@math.ucla.edu>
 ;; Maintainer: FSF
-;; Keywords: maintenance
+;; Keywords: maint
 
 ;; This file is part of GNU Emacs.
 
-;; GNU Emacs is free software; you can redistribute it and/or modify
+;; GNU Emacs is free software: you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
 
 ;; GNU Emacs is distributed in the hope that it will be useful,
 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -19,9 +20,7 @@
 ;; GNU General Public License for more details.
 
 ;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs; see the file COPYING.  If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
 
 ;;; Commentary:
 
   :group 'maint)
 
 (defcustom gulp-discard "^;+ *Maintainer: *FSF *$"
-  "*The regexp matching the packages not requiring the request for updates."
+  "The regexp matching the packages not requiring the request for updates."
   :type 'regexp
   :group 'gulp)
 
-(defcustom gulp-tmp-buffer "*gulp*" "The name of the temporary buffer."
+(defcustom gulp-tmp-buffer "*gulp*"
+  "The name of the temporary buffer."
   :type 'string
   :group 'gulp)
 
 (defcustom gulp-max-len 2000
-  "*Distance into a Lisp source file to scan for keywords."
+  "Distance into a Lisp source file to scan for keywords."
   :type 'integer
   :group 'gulp)
 
@@ -55,7 +55,7 @@
 I'm going to start pretesting a new version of GNU Emacs soon, so I'd
 like to ask if you have any updates for the Emacs packages you work on.
 You're listed as the maintainer of the following package(s):\n\n")
-  "*The starting text of a gulp message."
+  "The starting text of a gulp message."
   :type 'string
   :group 'gulp)
 
@@ -73,10 +73,13 @@ please use lisp/ChangeLog as a guide for the style and for what kinds
 of information to include.
 
 Thanks.")
-  "*The closing text in a gulp message."
+  "The closing text in a gulp message."
   :type 'string
   :group 'gulp)
 
+(declare-function mail-subject "sendmail" ())
+(declare-function mail-send "sendmail" ())
+
 (defun gulp-send-requests (dir &optional time)
   "Send requests for updates to the authors of Lisp packages in directory DIR.
 For each maintainer, the message consists of `gulp-request-header',
@@ -103,7 +106,7 @@ is left in the `*gulp*' buffer at the end."
       (while (setq node (car m-p-alist))
        (setq msg (gulp-create-message (cdr node) time))
        (setq mail-setup-hook
-             (lambda () 
+             (lambda ()
                (mail-subject)
                (insert "It's time for Emacs updates again")
                (goto-char (point-max))
@@ -171,4 +174,7 @@ That is a list of elements, each of the form (MAINTAINER PACKAGES...)."
        (if (= (length mnt) 0) (setq mnt nil))) ;; "^;; Author: $" --> nil
       (cons mnt timest))))
 
+(provide 'gulp)
+
+;; arch-tag: 42750a11-460a-4efc-829f-342d075530e5
 ;;; gulp.el ends here